Package | Description |
---|---|
agi.foundation.infrastructure |
Contains types which support various aspects of the DME Component Libraries infrastructure.
|
Modifier and Type | Method and Description |
---|---|
static <T1,T2> CollectionAlgorithms.ComparisonOfDifferentTypes<T1,T2> |
CollectionAlgorithms.ComparisonOfDifferentTypes.of(CollectionAlgorithms.ComparisonOfDifferentTypes.Function<T1,T2> f)
Create a delegate for the given interface.
|
static <T1,T2> CollectionAlgorithms.ComparisonOfDifferentTypes<T1,T2> |
CollectionAlgorithms.ComparisonOfDifferentTypes.of(CollectionAlgorithms.ComparisonOfDifferentTypes.Function<T1,T2> f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static <T1,T2> CollectionAlgorithms.ComparisonOfDifferentTypes<T1,T2> |
CollectionAlgorithms.ComparisonOfDifferentTypes.of(CollectionAlgorithms.ComparisonOfDifferentTypes.Function<T1,T2> f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
Modifier and Type | Method and Description |
---|---|
static <TListItem,TMatchItem> |
CollectionAlgorithms.binarySearch(List<TListItem> collection,
TMatchItem item,
CollectionAlgorithms.ComparisonOfDifferentTypes<TListItem,TMatchItem> comparer)
Uses a binary search algorithm to locate a specific element in the sorted
List . |
static <TListItem,TMatchItem> |
CollectionAlgorithms.binarySearch(List<TListItem> collection,
TMatchItem item,
CollectionAlgorithms.ComparisonOfDifferentTypes<TListItem,TMatchItem> comparer,
int startIndex,
int length)
Uses a binary search algorithm to locate a specific element in the sorted
List . |