/****************************************************************************** ArraySort Interface ---------------------------------------------------- Copyright (c) Gunnar Gotshalks. All Rights Reserved. Permission to use, copy, modify, and distribute this software and its documentation for NON-COMMERCIAL purposes and without fee is hereby granted. *******************************************************************************/ package FlexOr.searchAndSort; import FlexOr.container.*; /** Sort an array of objects interface. Provide a sort method and when implemented it is expected a static method would also be provided.
@author Gunnar Gotshalks @version 1.0 1999 Jan 15 */ public interface ArraySort { /** @param obj Array of elements to be sorted. @param bp Defines how array elements are compared. */ void sort(Object[] obj, BinaryPredicate bp); }