| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.floats |
Provides type-specific classes for float elements or keys.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFloatComparator
Deprecated.
As of fastutil 8 this class is no longer necessary, as its only previous abstract
method is now a default method of the type-specific interface.
|
protected static class |
FloatComparators.NaturalImplicitComparator
A type-specific comparator mimicking the natural order.
|
protected static class |
FloatComparators.OppositeComparator |
protected static class |
FloatComparators.OppositeImplicitComparator
A type-specific comparator mimicking the opposite of the natural order.
|
| Modifier and Type | Field and Description |
|---|---|
protected FloatComparator |
Float2ByteRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2ByteRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2DoubleAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2DoubleAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2FloatAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2FloatAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2ReferenceRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2ReferenceRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2ReferenceAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2ReferenceAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
FloatRBTreeSet.actualComparator
This set's actual comparator; it may differ from
FloatRBTreeSet.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2ShortRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2ShortRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2ObjectAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2ObjectAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2ShortAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2ShortAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2LongAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2LongAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2ObjectRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2ObjectRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2LongRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2LongRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2FloatRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2FloatRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2IntAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2IntAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2CharAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2CharAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2BooleanRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2BooleanRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2BooleanAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2BooleanAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2ByteAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2ByteAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2IntRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2IntRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
FloatAVLTreeSet.actualComparator
This set's actual comparator; it may differ from
FloatAVLTreeSet.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2DoubleRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2DoubleRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
Float2CharRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Float2CharRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected FloatComparator |
FloatArrayPriorityQueue.c
The type-specific comparator used in this queue.
|
protected FloatComparator |
FloatHeapPriorityQueue.c
The type-specific comparator used in this queue.
|
protected FloatComparator |
FloatArrayIndirectPriorityQueue.c
The type-specific comparator used in this queue.
|
protected FloatComparator |
FloatHeapSemiIndirectPriorityQueue.c
The type-specific comparator used in this queue.
|
protected FloatComparator |
Float2DoubleSortedMaps.Singleton.comparator |
protected FloatComparator |
Float2ByteSortedMaps.Singleton.comparator |
protected FloatComparator |
Float2CharSortedMaps.Singleton.comparator |
protected FloatComparator |
Float2FloatSortedMaps.Singleton.comparator |
protected FloatComparator |
Float2LongSortedMaps.Singleton.comparator |
protected FloatComparator |
Float2BooleanSortedMaps.Singleton.comparator |
protected FloatComparator |
Float2IntSortedMaps.Singleton.comparator |
protected FloatComparator |
Float2ReferenceSortedMaps.Singleton.comparator |
protected FloatComparator |
Float2ShortSortedMaps.Singleton.comparator |
protected FloatComparator |
Float2ObjectSortedMaps.Singleton.comparator |
static FloatComparator |
FloatComparators.NATURAL_COMPARATOR |
static FloatComparator |
FloatComparators.OPPOSITE_COMPARATOR |
| Modifier and Type | Method and Description |
|---|---|
static FloatComparator |
FloatComparators.asFloatComparator(Comparator<? super Float> c)
Returns a type-specific comparator that is equivalent to the given comparator.
|
FloatComparator |
FloatLinkedOpenCustomHashSet.comparator() |
FloatComparator |
Float2ByteRBTreeMap.comparator() |
FloatComparator |
Float2DoubleAVLTreeMap.comparator() |
FloatComparator |
Float2ObjectLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
AbstractFloat2ObjectSortedMap.KeySet.comparator() |
FloatComparator |
Float2DoubleSortedMaps.EmptySortedMap.comparator() |
FloatComparator |
Float2DoubleSortedMaps.Singleton.comparator() |
FloatComparator |
Float2DoubleSortedMaps.SynchronizedSortedMap.comparator() |
FloatComparator |
Float2DoubleSortedMaps.UnmodifiableSortedMap.comparator() |
FloatComparator |
Float2FloatAVLTreeMap.comparator() |
FloatComparator |
FloatLinkedOpenHashSet.comparator() |
FloatComparator |
Float2ReferenceRBTreeMap.comparator() |
FloatComparator |
Float2CharSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
FloatPriorityQueues.SynchronizedPriorityQueue.comparator() |
FloatComparator |
AbstractFloat2CharSortedMap.KeySet.comparator() |
FloatComparator |
Float2ReferenceAVLTreeMap.comparator() |
FloatComparator |
FloatArrayFIFOQueue.comparator()
Returns the comparator associated with this priority queue, or null if it uses its elements' natural ordering.
|
FloatComparator |
FloatRBTreeSet.comparator() |
FloatComparator |
AbstractFloat2LongSortedMap.KeySet.comparator() |
FloatComparator |
Float2ReferenceLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
Float2ByteSortedMaps.EmptySortedMap.comparator() |
FloatComparator |
Float2ByteSortedMaps.Singleton.comparator() |
FloatComparator |
Float2ByteSortedMaps.SynchronizedSortedMap.comparator() |
FloatComparator |
Float2ByteSortedMaps.UnmodifiableSortedMap.comparator() |
FloatComparator |
Float2CharSortedMaps.EmptySortedMap.comparator() |
FloatComparator |
Float2CharSortedMaps.Singleton.comparator() |
FloatComparator |
Float2CharSortedMaps.SynchronizedSortedMap.comparator() |
FloatComparator |
Float2CharSortedMaps.UnmodifiableSortedMap.comparator() |
FloatComparator |
FloatPriorityQueue.comparator()
Returns the comparator associated with this priority queue, or null if it uses its elements' natural ordering.
|
FloatComparator |
Float2DoubleLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
Float2FloatSortedMaps.EmptySortedMap.comparator() |
FloatComparator |
Float2FloatSortedMaps.Singleton.comparator() |
FloatComparator |
Float2FloatSortedMaps.SynchronizedSortedMap.comparator() |
FloatComparator |
Float2FloatSortedMaps.UnmodifiableSortedMap.comparator() |
FloatComparator |
Float2ShortLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
Float2ReferenceSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
Float2BooleanSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
FloatArrayPriorityQueue.comparator() |
FloatComparator |
Float2ObjectSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
Float2CharLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
AbstractFloat2FloatSortedMap.KeySet.comparator() |
FloatComparator |
Float2ShortRBTreeMap.comparator() |
FloatComparator |
FloatIndirectPriorityQueue.comparator()
Returns the type-specific comparator associated with this queue.
|
FloatComparator |
FloatHeapPriorityQueue.comparator() |
FloatComparator |
Float2ObjectAVLTreeMap.comparator() |
FloatComparator |
AbstractFloat2ByteSortedMap.KeySet.comparator() |
FloatComparator |
Float2ShortAVLTreeMap.comparator() |
FloatComparator |
Float2ByteLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
Float2LongAVLTreeMap.comparator() |
FloatComparator |
Float2LongSortedMaps.EmptySortedMap.comparator() |
FloatComparator |
Float2LongSortedMaps.Singleton.comparator() |
FloatComparator |
Float2LongSortedMaps.SynchronizedSortedMap.comparator() |
FloatComparator |
Float2LongSortedMaps.UnmodifiableSortedMap.comparator() |
FloatComparator |
Float2FloatSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
Float2ObjectRBTreeMap.comparator() |
FloatComparator |
Float2BooleanSortedMaps.EmptySortedMap.comparator() |
FloatComparator |
Float2BooleanSortedMaps.Singleton.comparator() |
FloatComparator |
Float2BooleanSortedMaps.SynchronizedSortedMap.comparator() |
FloatComparator |
Float2BooleanSortedMaps.UnmodifiableSortedMap.comparator() |
FloatComparator |
Float2LongRBTreeMap.comparator() |
FloatComparator |
Float2FloatRBTreeMap.comparator() |
FloatComparator |
FloatSortedSet.comparator() |
FloatComparator |
Float2IntAVLTreeMap.comparator() |
FloatComparator |
Float2CharAVLTreeMap.comparator() |
FloatComparator |
Float2IntSortedMaps.EmptySortedMap.comparator() |
FloatComparator |
Float2IntSortedMaps.Singleton.comparator() |
FloatComparator |
Float2IntSortedMaps.SynchronizedSortedMap.comparator() |
FloatComparator |
Float2IntSortedMaps.UnmodifiableSortedMap.comparator() |
FloatComparator |
Float2DoubleSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
AbstractFloat2ReferenceSortedMap.KeySet.comparator() |
FloatComparator |
Float2BooleanRBTreeMap.comparator() |
FloatComparator |
FloatArrayIndirectPriorityQueue.comparator() |
FloatComparator |
Float2IntLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
AbstractFloat2ShortSortedMap.KeySet.comparator() |
FloatComparator |
Float2LongSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
Float2IntSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
FloatSortedSets.EmptySet.comparator() |
FloatComparator |
FloatSortedSets.Singleton.comparator() |
FloatComparator |
FloatSortedSets.SynchronizedSortedSet.comparator() |
FloatComparator |
FloatSortedSets.UnmodifiableSortedSet.comparator() |
FloatComparator |
AbstractFloat2IntSortedMap.KeySet.comparator() |
FloatComparator |
Float2BooleanAVLTreeMap.comparator() |
FloatComparator |
Float2ByteAVLTreeMap.comparator() |
FloatComparator |
Float2IntRBTreeMap.comparator() |
FloatComparator |
Float2ReferenceSortedMaps.EmptySortedMap.comparator() |
FloatComparator |
Float2ReferenceSortedMaps.Singleton.comparator() |
FloatComparator |
Float2ReferenceSortedMaps.SynchronizedSortedMap.comparator() |
FloatComparator |
Float2ReferenceSortedMaps.UnmodifiableSortedMap.comparator() |
FloatComparator |
AbstractFloat2BooleanSortedMap.KeySet.comparator() |
FloatComparator |
Float2BooleanLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
Float2FloatLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
AbstractFloat2DoubleSortedMap.KeySet.comparator() |
FloatComparator |
FloatAVLTreeSet.comparator() |
FloatComparator |
Float2ShortSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
FloatHeapSemiIndirectPriorityQueue.comparator() |
FloatComparator |
Float2DoubleRBTreeMap.comparator() |
FloatComparator |
Float2CharRBTreeMap.comparator() |
FloatComparator |
Float2ShortSortedMaps.EmptySortedMap.comparator() |
FloatComparator |
Float2ShortSortedMaps.Singleton.comparator() |
FloatComparator |
Float2ShortSortedMaps.SynchronizedSortedMap.comparator() |
FloatComparator |
Float2ShortSortedMaps.UnmodifiableSortedMap.comparator() |
FloatComparator |
Float2ByteSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
Float2LongLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
FloatComparator |
Float2ObjectSortedMaps.EmptySortedMap.comparator() |
FloatComparator |
Float2ObjectSortedMaps.Singleton.comparator() |
FloatComparator |
Float2ObjectSortedMaps.SynchronizedSortedMap.comparator() |
FloatComparator |
Float2ObjectSortedMaps.UnmodifiableSortedMap.comparator() |
static FloatComparator |
FloatComparators.oppositeComparator(FloatComparator c)
Returns a comparator representing the opposite order of the given comparator.
|
FloatComparator |
FloatComparators.NaturalImplicitComparator.reversed() |
FloatComparator |
FloatComparators.OppositeImplicitComparator.reversed() |
FloatComparator |
FloatComparators.OppositeComparator.reversed() |
default FloatComparator |
FloatComparator.reversed() |
default FloatComparator |
FloatComparator.thenComparing(FloatComparator second)
Return a new comparator that first uses this comparator, then uses the second comparator
if this comparator compared the two elements as equal.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
FloatBigArrays.binarySearch(float[][] a,
float key,
FloatComparator c)
Searches a big array for the specified value using
the binary search algorithm and a specified comparator.
|
static long |
FloatBigArrays.binarySearch(float[][] a,
long from,
long to,
float key,
FloatComparator c)
Searches a range of the specified big array for the specified value using
the binary search algorithm and a specified comparator.
|
static int |
FloatArrays.binarySearch(float[] a,
float key,
FloatComparator c)
Searches an array for the specified value using
the binary search algorithm and a specified comparator.
|
static int |
FloatArrays.binarySearch(float[] a,
int from,
int to,
float key,
FloatComparator c)
Searches a range of the specified array for the specified value using
the binary search algorithm and a specified comparator.
|
static int |
FloatIndirectHeaps.downHeap(float[] refArray,
int[] heap,
int[] inv,
int size,
int i,
FloatComparator c)
Moves the given element down into the indirect heap until it reaches the lowest possible position.
|
static int |
FloatSemiIndirectHeaps.downHeap(float[] refArray,
int[] heap,
int size,
int i,
FloatComparator c)
Moves the given element down into the semi-indirect heap until it reaches the lowest possible position.
|
static int |
FloatHeaps.downHeap(float[] heap,
int size,
int i,
FloatComparator c)
Moves the given element down into the heap until it reaches the lowest possible position.
|
static Comparator<? super Map.Entry<Float,?>> |
Float2DoubleSortedMaps.entryComparator(FloatComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Float,?>> |
Float2ByteSortedMaps.entryComparator(FloatComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Float,?>> |
Float2CharSortedMaps.entryComparator(FloatComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Float,?>> |
Float2FloatSortedMaps.entryComparator(FloatComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Float,?>> |
Float2LongSortedMaps.entryComparator(FloatComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Float,?>> |
Float2BooleanSortedMaps.entryComparator(FloatComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Float,?>> |
Float2IntSortedMaps.entryComparator(FloatComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Float,?>> |
Float2ReferenceSortedMaps.entryComparator(FloatComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Float,?>> |
Float2ShortSortedMaps.entryComparator(FloatComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Float,?>> |
Float2ObjectSortedMaps.entryComparator(FloatComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static int |
FloatSemiIndirectHeaps.front(float[] refArray,
int[] heap,
int size,
int[] a,
FloatComparator c)
Retrieves the front of a heap in a given array using a given comparator.
|
static void |
FloatIndirectHeaps.makeHeap(float[] refArray,
int[] heap,
int[] inv,
int size,
FloatComparator c)
Creates an indirect heap from a given index array.
|
static void |
FloatSemiIndirectHeaps.makeHeap(float[] refArray,
int[] heap,
int size,
FloatComparator c)
Creates a semi-indirect heap from a given index array.
|
static void |
FloatHeaps.makeHeap(float[] heap,
int size,
FloatComparator c)
Makes an array into a heap.
|
static int[] |
FloatSemiIndirectHeaps.makeHeap(float[] refArray,
int offset,
int length,
FloatComparator c)
Creates a semi-indirect heap, allocating its heap array.
|
static void |
FloatSemiIndirectHeaps.makeHeap(float[] refArray,
int offset,
int length,
int[] heap,
FloatComparator c)
Creates a semi-indirect heap in the given array.
|
static void |
FloatIndirectHeaps.makeHeap(float[] refArray,
int offset,
int length,
int[] heap,
int[] inv,
FloatComparator c)
Creates an indirect heap in the given array.
|
static void |
FloatArrays.mergeSort(float[] a,
FloatComparator comp)
Sorts an array according to the order induced by the specified
comparator using mergesort.
|
static void |
FloatArrays.mergeSort(float[] a,
int from,
int to,
FloatComparator comp)
Sorts the specified range of elements according to the order induced by the specified
comparator using mergesort.
|
static void |
FloatArrays.mergeSort(float[] a,
int from,
int to,
FloatComparator comp,
float[] supp)
Sorts the specified range of elements according to the order induced by the specified
comparator using mergesort, using a given pre-filled support array.
|
static FloatComparator |
FloatComparators.oppositeComparator(FloatComparator c)
Returns a comparator representing the opposite order of the given comparator.
|
static void |
FloatArrays.parallelQuickSort(float[] x,
FloatComparator comp)
Sorts an array according to the order induced by the specified
comparator using a parallel quicksort.
|
static void |
FloatArrays.parallelQuickSort(float[] x,
int from,
int to,
FloatComparator comp)
Sorts the specified range of elements according to the order induced by the specified
comparator using a parallel quicksort.
|
static void |
FloatBigArrays.quickSort(float[][] x,
FloatComparator comp)
Sorts the specified big array according to the order induced by the specified
comparator using quicksort.
|
static void |
FloatBigArrays.quickSort(float[][] x,
long from,
long to,
FloatComparator comp)
Sorts the specified range of elements according to the order induced by the specified
comparator using quicksort.
|
static void |
FloatArrays.quickSort(float[] x,
FloatComparator comp)
Sorts an array according to the order induced by the specified
comparator using quicksort.
|
static void |
FloatArrays.quickSort(float[] x,
int from,
int to,
FloatComparator comp)
Sorts the specified range of elements according to the order induced by the specified
comparator using quicksort.
|
static Float2BooleanSortedMap |
Float2BooleanSortedMaps.singleton(float key,
boolean value,
FloatComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static Float2BooleanSortedMap |
Float2BooleanSortedMaps.singleton(Float key,
Boolean value,
FloatComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static Float2ByteSortedMap |
Float2ByteSortedMaps.singleton(float key,
byte value,
FloatComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static Float2ByteSortedMap |
Float2ByteSortedMaps.singleton(Float key,
Byte value,
FloatComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static Float2CharSortedMap |
Float2CharSortedMaps.singleton(Float key,
Character value,
FloatComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static Float2CharSortedMap |
Float2CharSortedMaps.singleton(float key,
char value,
FloatComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static Float2DoubleSortedMap |
Float2DoubleSortedMaps.singleton(float key,
double value,
FloatComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static Float2DoubleSortedMap |
Float2DoubleSortedMaps.singleton(Float key,
Double value,
FloatComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static FloatSortedSet |
FloatSortedSets.singleton(float element,
FloatComparator comparator)
Returns a type-specific immutable sorted set containing only the specified element, and using a specified comparator.
|
static Float2FloatSortedMap |
Float2FloatSortedMaps.singleton(float key,
float value,
FloatComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static Float2FloatSortedMap |
Float2FloatSortedMaps.singleton(Float key,
Float value,
FloatComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static Float2IntSortedMap |
Float2IntSortedMaps.singleton(Float key,
Integer value,
FloatComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static Float2IntSortedMap |
Float2IntSortedMaps.singleton(float key,
int value,
FloatComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static Float2LongSortedMap |
Float2LongSortedMaps.singleton(float key,
long value,
FloatComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static Float2LongSortedMap |
Float2LongSortedMaps.singleton(Float key,
Long value,
FloatComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static Float2ShortSortedMap |
Float2ShortSortedMaps.singleton(float key,
short value,
FloatComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static Float2ShortSortedMap |
Float2ShortSortedMaps.singleton(Float key,
Short value,
FloatComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static <V> Float2ReferenceSortedMap<V> |
Float2ReferenceSortedMaps.singleton(float key,
V value,
FloatComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static <V> Float2ObjectSortedMap<V> |
Float2ObjectSortedMaps.singleton(float key,
V value,
FloatComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static <V> Float2ReferenceSortedMap<V> |
Float2ReferenceSortedMaps.singleton(Float key,
V value,
FloatComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static <V> Float2ObjectSortedMap<V> |
Float2ObjectSortedMaps.singleton(Float key,
V value,
FloatComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static FloatSortedSet |
FloatSortedSets.singleton(Object element,
FloatComparator comparator)
Returns a type-specific immutable sorted set containing only the specified element, and using a specified comparator.
|
void |
FloatArrayList.sort(FloatComparator comp) |
default void |
FloatList.sort(FloatComparator comparator)
Sort a list using a type-specific comparator.
|
void |
FloatLists.EmptyList.sort(FloatComparator comparator) |
void |
FloatLists.Singleton.sort(FloatComparator comparator) |
void |
FloatLists.SynchronizedList.sort(FloatComparator comparator) |
void |
FloatLists.UnmodifiableList.sort(FloatComparator comparator) |
static void |
FloatArrays.stableSort(float[] a,
FloatComparator comp)
Sorts an array according to the order induced by the specified comparator,
potentially dynamically choosing an appropriate algorithm given the type and size of the array.
|
static void |
FloatArrays.stableSort(float[] a,
int from,
int to,
FloatComparator comp)
Sorts the specified range of elements according to the order induced by the specified comparator,
potentially dynamically choosing an appropriate algorithm given the type and size of the array.
|
default FloatComparator |
FloatComparator.thenComparing(FloatComparator second)
Return a new comparator that first uses this comparator, then uses the second comparator
if this comparator compared the two elements as equal.
|
static void |
FloatArrays.unstableSort(float[] a,
FloatComparator comp)
Sorts an array according to the order induced by the specified comparator,
potentially dynamically choosing an appropriate algorithm given the type and size of the array.
|
static void |
FloatArrays.unstableSort(float[] a,
int from,
int to,
FloatComparator comp)
Sorts the specified range of elements according to the order induced by the specified comparator,
potentially dynamically choosing an appropriate algorithm given the type and size of the array.
|
void |
FloatArrayList.unstableSort(FloatComparator comp) |
default void |
FloatList.unstableSort(FloatComparator comparator)
Sorts this list using a sort not assured to be stable.
|
void |
FloatLists.EmptyList.unstableSort(FloatComparator comparator) |
void |
FloatLists.Singleton.unstableSort(FloatComparator comparator) |
void |
FloatLists.SynchronizedList.unstableSort(FloatComparator comparator) |
void |
FloatLists.UnmodifiableList.unstableSort(FloatComparator comparator) |
static int |
FloatIndirectHeaps.upHeap(float[] refArray,
int[] heap,
int[] inv,
int size,
int i,
FloatComparator c)
Moves the given element up in the indirect heap until it reaches the highest possible position.
|
static int |
FloatSemiIndirectHeaps.upHeap(float[] refArray,
int[] heap,
int size,
int i,
FloatComparator c)
Moves the given element up in the semi-indirect heap until it reaches the highest possible position.
|
static int |
FloatHeaps.upHeap(float[] heap,
int size,
int i,
FloatComparator c)
Moves the given element up in the heap until it reaches the highest possible position.
|
| Constructor and Description |
|---|
FloatArrayIndirectPriorityQueue(float[] refArray,
FloatComparator c)
Creates a new empty queue with capacity equal to the length of the reference array and a given comparator.
|
FloatArrayIndirectPriorityQueue(float[] refArray,
int[] a,
FloatComparator c)
Wraps a given array in a queue using a given comparator.
|
FloatArrayIndirectPriorityQueue(float[] refArray,
int[] a,
int size,
FloatComparator c)
Wraps a given array in a queue using a given comparator.
|
FloatArrayIndirectPriorityQueue(float[] refArray,
int capacity,
FloatComparator c)
Creates a new empty queue without elements with a given capacity and comparator.
|
FloatArrayPriorityQueue(float[] a,
FloatComparator c)
Wraps a given array in a queue using a given comparator.
|
FloatArrayPriorityQueue(float[] a,
int size,
FloatComparator c)
Wraps a given array in a queue using a given comparator.
|
FloatArrayPriorityQueue(FloatComparator c)
Creates a new empty queue with a given comparator.
|
FloatArrayPriorityQueue(int capacity,
FloatComparator c)
Creates a new empty queue with a given capacity and comparator.
|
FloatHeapIndirectPriorityQueue(float[] refArray,
FloatComparator c)
Creates a new empty queue with capacity equal to the length of the reference array and a given comparator.
|
FloatHeapIndirectPriorityQueue(float[] refArray,
int[] a,
FloatComparator c)
Wraps a given array in a queue using a given comparator.
|
FloatHeapIndirectPriorityQueue(float[] refArray,
int[] a,
int size,
FloatComparator c)
Wraps a given array in a queue using a given comparator.
|
FloatHeapIndirectPriorityQueue(float[] refArray,
int capacity,
FloatComparator c)
Creates a new empty queue with a given capacity and comparator.
|
FloatHeapPriorityQueue(Collection<? extends Float> collection,
FloatComparator c)
Creates a queue using the elements in a collection using a given comparator.
|
FloatHeapPriorityQueue(float[] a,
FloatComparator c)
Wraps a given array in a queue using a given comparator.
|
FloatHeapPriorityQueue(float[] a,
int size,
FloatComparator c)
Wraps a given array in a queue using a given comparator.
|
FloatHeapPriorityQueue(FloatCollection collection,
FloatComparator c)
Creates a queue using the elements in a type-specific collection using a given comparator.
|
FloatHeapPriorityQueue(FloatComparator c)
Creates a new empty queue with a given comparator.
|
FloatHeapPriorityQueue(int capacity,
FloatComparator c)
Creates a new empty queue with a given capacity and comparator.
|
FloatHeapSemiIndirectPriorityQueue(float[] refArray,
FloatComparator c)
Creates a new empty queue with capacity equal to the length of the reference array and a given comparator.
|
FloatHeapSemiIndirectPriorityQueue(float[] refArray,
int[] a,
FloatComparator c)
Wraps a given array in a queue using a given comparator.
|
FloatHeapSemiIndirectPriorityQueue(float[] refArray,
int[] a,
int size,
FloatComparator c)
Wraps a given array in a queue using a given comparator.
|
FloatHeapSemiIndirectPriorityQueue(float[] refArray,
int capacity,
FloatComparator c)
Creates a new empty queue without elements with a given capacity and comparator.
|
ForkJoinQuickSortComp(float[] x,
int from,
int to,
FloatComparator comp) |
OppositeComparator(FloatComparator c) |
Singleton(float key,
boolean value,
FloatComparator comparator) |
Singleton(float key,
byte value,
FloatComparator comparator) |
Singleton(float key,
char value,
FloatComparator comparator) |
Singleton(float key,
double value,
FloatComparator comparator) |
Singleton(float element,
FloatComparator comparator) |
Singleton(float key,
float value,
FloatComparator comparator) |
Singleton(float key,
int value,
FloatComparator comparator) |
Singleton(float key,
long value,
FloatComparator comparator) |
Singleton(float key,
short value,
FloatComparator comparator) |
Singleton(float key,
V value,
FloatComparator comparator) |
Singleton(float key,
V value,
FloatComparator comparator) |
Copyright © 2020. All rights reserved.