Package | Description |
---|---|
com.mckoi.util |
Miscellaneous utility classes.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
IntegerListBlockInterface.binarySearch(Object key,
IndexComparator c)
Considers each int a reference to another structure, and the block
sorted by these structures.
|
int |
BlockIntegerList.IntArrayListBlock.binarySearch(Object key,
IndexComparator c)
Considers each int a reference to another structure, and the block
sorted by these structures.
|
void |
AbstractBlockIntegerList.checkSorted(IndexComparator c) |
static void |
AbstractBlockIntegerList.checkSorted(IntegerIterator iterator,
IndexComparator c) |
boolean |
IntegerListInterface.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.
|
boolean |
AbstractBlockIntegerList.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.
|
void |
IntegerListInterface.insertSort(Object key,
int val,
IndexComparator c)
Inserts the key/index pair into the list at the correct sorted position
(determine by the IndexComparator).
|
void |
AbstractBlockIntegerList.insertSort(Object key,
int val,
IndexComparator c)
Inserts the key/index pair into the list at the correct sorted position
(determine by the IndexComparator).
|
int |
IntegerListInterface.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.
|
int |
AbstractBlockIntegerList.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.
|
abstract int |
IntegerListBlockInterface.searchFirst(Object key,
IndexComparator c)
Considers each int a reference to another structure, and the block
sorted by these structures.
|
int |
BlockIntegerList.IntArrayListBlock.searchFirst(Object key,
IndexComparator c)
Considers each int a reference to another structure, and the block
sorted by these structures.
|
int |
IntegerListInterface.searchFirst(Object key,
IndexComparator c)
Returns the index of the first value in this set that equals the given
value.
|
int |
AbstractBlockIntegerList.searchFirst(Object key,
IndexComparator c)
Returns the index of the first value in this set that equals the given
value.
|
abstract int |
IntegerListBlockInterface.searchLast(Object key,
IndexComparator c)
Considers each int a reference to another structure, and the block
sorted by these structures.
|
int |
BlockIntegerList.IntArrayListBlock.searchLast(Object key,
IndexComparator c)
Considers each int a reference to another structure, and the block
sorted by these structures.
|
int |
IntegerListInterface.searchLast(Object key,
IndexComparator c)
Returns the index of the last value in this set that equals the given
value.
|
int |
AbstractBlockIntegerList.searchLast(Object key,
IndexComparator c)
Returns the index of the last value in this set that equals the given
value.
|
Copyright © 2015. All rights reserved.