Uses of Interface
com.mckoi.util.IndexComparator
Packages that use IndexComparator
-
Uses of IndexComparator in com.mckoi.util
Methods in com.mckoi.util with parameters of type IndexComparatorModifier and TypeMethodDescriptionfinal intBlockIntegerList.IntArrayListBlock.binarySearch(Object key, IndexComparator c) Considers each int a reference to another structure, and the block sorted by these structures.abstract intIntegerListBlockInterface.binarySearch(Object key, IndexComparator c) Considers each int a reference to another structure, and the block sorted by these structures.voidAbstractBlockIntegerList.checkSorted(IndexComparator c) static voidAbstractBlockIntegerList.checkSorted(IntegerIterator iterator, IndexComparator c) final booleanAbstractBlockIntegerList.contains(Object key, IndexComparator c) Assuming the list is sorted, this performs a binary search and returns true if the value is found, otherwise returns false.booleanIntegerListInterface.contains(Object key, IndexComparator c) Assuming the list is sorted, this performs a binary search and returns true if the key value is found, otherwise returns false.final voidAbstractBlockIntegerList.insertSort(Object key, int val, IndexComparator c) Inserts the key/index pair into the list at the correct sorted position (determine by the IndexComparator).voidIntegerListInterface.insertSort(Object key, int val, IndexComparator c) Inserts the key/index pair into the list at the correct sorted position (determine by the IndexComparator).final intAbstractBlockIntegerList.removeSort(Object key, int val, IndexComparator c) Removes the key/val pair from the list by first searching for it, and then removing it from the list.intIntegerListInterface.removeSort(Object key, int val, IndexComparator c) Removes the key/val pair from the list by first searching for it, and then removing it from the list.final intAbstractBlockIntegerList.searchFirst(Object key, IndexComparator c) Returns the index of the first value in this set that equals the given value.final intBlockIntegerList.IntArrayListBlock.searchFirst(Object key, IndexComparator c) Considers each int a reference to another structure, and the block sorted by these structures.abstract intIntegerListBlockInterface.searchFirst(Object key, IndexComparator c) Considers each int a reference to another structure, and the block sorted by these structures.intIntegerListInterface.searchFirst(Object key, IndexComparator c) Returns the index of the first value in this set that equals the given value.final intAbstractBlockIntegerList.searchLast(Object key, IndexComparator c) Returns the index of the last value in this set that equals the given value.final intBlockIntegerList.IntArrayListBlock.searchLast(Object key, IndexComparator c) Considers each int a reference to another structure, and the block sorted by these structures.abstract intIntegerListBlockInterface.searchLast(Object key, IndexComparator c) Considers each int a reference to another structure, and the block sorted by these structures.intIntegerListInterface.searchLast(Object key, IndexComparator c) Returns the index of the last value in this set that equals the given value.