| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.chars |
Provides type-specific classes for character elements or keys.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCharComparator
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 |
CharComparators.NaturalImplicitComparator
A type-specific comparator mimicking the natural order.
|
protected static class |
CharComparators.OppositeComparator |
protected static class |
CharComparators.OppositeImplicitComparator
A type-specific comparator mimicking the opposite of the natural order.
|
| Modifier and Type | Field and Description |
|---|---|
protected CharComparator |
Char2BooleanAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2BooleanAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2DoubleRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2DoubleRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2CharAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2CharAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2LongAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2LongAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2BooleanRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2BooleanRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2ReferenceAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2ReferenceAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2FloatAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2FloatAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2ShortRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2ShortRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2ObjectAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2ObjectAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2ShortAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2ShortAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2IntAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2IntAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2ObjectRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2ObjectRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2DoubleAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2DoubleAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2LongRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2LongRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2CharRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2CharRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2FloatRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2FloatRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2IntRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2IntRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2ReferenceRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2ReferenceRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2ByteAVLTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2ByteAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
Char2ByteRBTreeMap.actualComparator
This map's actual comparator; it may differ from
Char2ByteRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
CharRBTreeSet.actualComparator
This set's actual comparator; it may differ from
CharRBTreeSet.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
CharAVLTreeSet.actualComparator
This set's actual comparator; it may differ from
CharAVLTreeSet.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected CharComparator |
CharArrayPriorityQueue.c
The type-specific comparator used in this queue.
|
protected CharComparator |
CharHeapPriorityQueue.c
The type-specific comparator used in this queue.
|
protected CharComparator |
CharHeapSemiIndirectPriorityQueue.c
The type-specific comparator used in this queue.
|
protected CharComparator |
CharArrayIndirectPriorityQueue.c
The type-specific comparator used in this queue.
|
protected CharComparator |
Char2BooleanSortedMaps.Singleton.comparator |
protected CharComparator |
Char2ShortSortedMaps.Singleton.comparator |
protected CharComparator |
Char2ObjectSortedMaps.Singleton.comparator |
protected CharComparator |
Char2ReferenceSortedMaps.Singleton.comparator |
protected CharComparator |
Char2FloatSortedMaps.Singleton.comparator |
protected CharComparator |
Char2LongSortedMaps.Singleton.comparator |
protected CharComparator |
Char2IntSortedMaps.Singleton.comparator |
protected CharComparator |
Char2CharSortedMaps.Singleton.comparator |
protected CharComparator |
Char2ByteSortedMaps.Singleton.comparator |
protected CharComparator |
Char2DoubleSortedMaps.Singleton.comparator |
static CharComparator |
CharComparators.NATURAL_COMPARATOR |
static CharComparator |
CharComparators.OPPOSITE_COMPARATOR |
| Modifier and Type | Method and Description |
|---|---|
static CharComparator |
CharComparators.asCharComparator(Comparator<? super Character> c)
Returns a type-specific comparator that is equivalent to the given comparator.
|
CharComparator |
AbstractChar2DoubleSortedMap.KeySet.comparator() |
CharComparator |
CharArrayPriorityQueue.comparator() |
CharComparator |
AbstractChar2ShortSortedMap.KeySet.comparator() |
CharComparator |
CharArrayFIFOQueue.comparator()
Returns the comparator associated with this priority queue, or null if it uses its elements' natural ordering.
|
CharComparator |
Char2BooleanAVLTreeMap.comparator() |
CharComparator |
Char2FloatSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
AbstractChar2IntSortedMap.KeySet.comparator() |
CharComparator |
Char2DoubleRBTreeMap.comparator() |
CharComparator |
Char2CharAVLTreeMap.comparator() |
CharComparator |
Char2ShortLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
Char2LongAVLTreeMap.comparator() |
CharComparator |
Char2BooleanLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
AbstractChar2ReferenceSortedMap.KeySet.comparator() |
CharComparator |
Char2CharLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
Char2DoubleSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
Char2ObjectSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
Char2BooleanRBTreeMap.comparator() |
CharComparator |
Char2ReferenceAVLTreeMap.comparator() |
CharComparator |
Char2LongSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
Char2ReferenceSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
CharPriorityQueues.SynchronizedPriorityQueue.comparator() |
CharComparator |
Char2ByteLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
CharPriorityQueue.comparator()
Returns the comparator associated with this priority queue, or null if it uses its elements' natural ordering.
|
CharComparator |
Char2FloatAVLTreeMap.comparator() |
CharComparator |
Char2BooleanSortedMaps.EmptySortedMap.comparator() |
CharComparator |
Char2BooleanSortedMaps.Singleton.comparator() |
CharComparator |
Char2BooleanSortedMaps.SynchronizedSortedMap.comparator() |
CharComparator |
Char2BooleanSortedMaps.UnmodifiableSortedMap.comparator() |
CharComparator |
Char2ShortSortedMaps.EmptySortedMap.comparator() |
CharComparator |
Char2ShortSortedMaps.Singleton.comparator() |
CharComparator |
Char2ShortSortedMaps.SynchronizedSortedMap.comparator() |
CharComparator |
Char2ShortSortedMaps.UnmodifiableSortedMap.comparator() |
CharComparator |
Char2ObjectSortedMaps.EmptySortedMap.comparator() |
CharComparator |
Char2ObjectSortedMaps.Singleton.comparator() |
CharComparator |
Char2ObjectSortedMaps.SynchronizedSortedMap.comparator() |
CharComparator |
Char2ObjectSortedMaps.UnmodifiableSortedMap.comparator() |
CharComparator |
Char2ReferenceSortedMaps.EmptySortedMap.comparator() |
CharComparator |
Char2ReferenceSortedMaps.Singleton.comparator() |
CharComparator |
Char2ReferenceSortedMaps.SynchronizedSortedMap.comparator() |
CharComparator |
Char2ReferenceSortedMaps.UnmodifiableSortedMap.comparator() |
CharComparator |
Char2FloatSortedMaps.EmptySortedMap.comparator() |
CharComparator |
Char2FloatSortedMaps.Singleton.comparator() |
CharComparator |
Char2FloatSortedMaps.SynchronizedSortedMap.comparator() |
CharComparator |
Char2FloatSortedMaps.UnmodifiableSortedMap.comparator() |
CharComparator |
Char2LongSortedMaps.EmptySortedMap.comparator() |
CharComparator |
Char2LongSortedMaps.Singleton.comparator() |
CharComparator |
Char2LongSortedMaps.SynchronizedSortedMap.comparator() |
CharComparator |
Char2LongSortedMaps.UnmodifiableSortedMap.comparator() |
CharComparator |
CharHeapPriorityQueue.comparator() |
CharComparator |
Char2ShortSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
AbstractChar2ByteSortedMap.KeySet.comparator() |
CharComparator |
AbstractChar2FloatSortedMap.KeySet.comparator() |
CharComparator |
Char2IntSortedMaps.EmptySortedMap.comparator() |
CharComparator |
Char2IntSortedMaps.Singleton.comparator() |
CharComparator |
Char2IntSortedMaps.SynchronizedSortedMap.comparator() |
CharComparator |
Char2IntSortedMaps.UnmodifiableSortedMap.comparator() |
CharComparator |
Char2ReferenceLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
AbstractChar2BooleanSortedMap.KeySet.comparator() |
CharComparator |
CharHeapSemiIndirectPriorityQueue.comparator() |
CharComparator |
CharArrayIndirectPriorityQueue.comparator() |
CharComparator |
Char2ShortRBTreeMap.comparator() |
CharComparator |
Char2ObjectLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
AbstractChar2CharSortedMap.KeySet.comparator() |
CharComparator |
Char2CharSortedMaps.EmptySortedMap.comparator() |
CharComparator |
Char2CharSortedMaps.Singleton.comparator() |
CharComparator |
Char2CharSortedMaps.SynchronizedSortedMap.comparator() |
CharComparator |
Char2CharSortedMaps.UnmodifiableSortedMap.comparator() |
CharComparator |
Char2ObjectAVLTreeMap.comparator() |
CharComparator |
Char2CharSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
Char2IntLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
CharIndirectPriorityQueue.comparator()
Returns the type-specific comparator associated with this queue.
|
CharComparator |
Char2ShortAVLTreeMap.comparator() |
CharComparator |
AbstractChar2LongSortedMap.KeySet.comparator() |
CharComparator |
Char2IntAVLTreeMap.comparator() |
CharComparator |
Char2FloatLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
Char2ObjectRBTreeMap.comparator() |
CharComparator |
Char2ByteSortedMaps.EmptySortedMap.comparator() |
CharComparator |
Char2ByteSortedMaps.Singleton.comparator() |
CharComparator |
Char2ByteSortedMaps.SynchronizedSortedMap.comparator() |
CharComparator |
Char2ByteSortedMaps.UnmodifiableSortedMap.comparator() |
CharComparator |
Char2DoubleAVLTreeMap.comparator() |
CharComparator |
Char2DoubleSortedMaps.EmptySortedMap.comparator() |
CharComparator |
Char2DoubleSortedMaps.Singleton.comparator() |
CharComparator |
Char2DoubleSortedMaps.SynchronizedSortedMap.comparator() |
CharComparator |
Char2DoubleSortedMaps.UnmodifiableSortedMap.comparator() |
CharComparator |
Char2BooleanSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
Char2LongRBTreeMap.comparator() |
CharComparator |
Char2DoubleLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
Char2CharRBTreeMap.comparator() |
CharComparator |
Char2FloatRBTreeMap.comparator() |
CharComparator |
AbstractChar2ObjectSortedMap.KeySet.comparator() |
CharComparator |
Char2LongLinkedOpenHashMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
Char2IntRBTreeMap.comparator() |
CharComparator |
Char2IntSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
Char2ReferenceRBTreeMap.comparator() |
CharComparator |
Char2ByteAVLTreeMap.comparator() |
CharComparator |
Char2ByteSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering.
|
CharComparator |
Char2ByteRBTreeMap.comparator() |
CharComparator |
CharSortedSets.EmptySet.comparator() |
CharComparator |
CharSortedSets.Singleton.comparator() |
CharComparator |
CharSortedSets.SynchronizedSortedSet.comparator() |
CharComparator |
CharSortedSets.UnmodifiableSortedSet.comparator() |
CharComparator |
CharSortedSet.comparator() |
CharComparator |
CharRBTreeSet.comparator() |
CharComparator |
CharLinkedOpenHashSet.comparator() |
CharComparator |
CharLinkedOpenCustomHashSet.comparator() |
CharComparator |
CharAVLTreeSet.comparator() |
static CharComparator |
CharComparators.oppositeComparator(CharComparator c)
Returns a comparator representing the opposite order of the given comparator.
|
CharComparator |
CharComparators.NaturalImplicitComparator.reversed() |
CharComparator |
CharComparators.OppositeImplicitComparator.reversed() |
CharComparator |
CharComparators.OppositeComparator.reversed() |
default CharComparator |
CharComparator.reversed() |
default CharComparator |
CharComparator.thenComparing(CharComparator 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 |
CharBigArrays.binarySearch(char[][] a,
char key,
CharComparator c)
Searches a big array for the specified value using
the binary search algorithm and a specified comparator.
|
static long |
CharBigArrays.binarySearch(char[][] a,
long from,
long to,
char key,
CharComparator c)
Searches a range of the specified big array for the specified value using
the binary search algorithm and a specified comparator.
|
static int |
CharArrays.binarySearch(char[] a,
char key,
CharComparator c)
Searches an array for the specified value using
the binary search algorithm and a specified comparator.
|
static int |
CharArrays.binarySearch(char[] a,
int from,
int to,
char key,
CharComparator c)
Searches a range of the specified array for the specified value using
the binary search algorithm and a specified comparator.
|
static int |
CharIndirectHeaps.downHeap(char[] refArray,
int[] heap,
int[] inv,
int size,
int i,
CharComparator c)
Moves the given element down into the indirect heap until it reaches the lowest possible position.
|
static int |
CharSemiIndirectHeaps.downHeap(char[] refArray,
int[] heap,
int size,
int i,
CharComparator c)
Moves the given element down into the semi-indirect heap until it reaches the lowest possible position.
|
static int |
CharHeaps.downHeap(char[] heap,
int size,
int i,
CharComparator c)
Moves the given element down into the heap until it reaches the lowest possible position.
|
static Comparator<? super Map.Entry<Character,?>> |
Char2BooleanSortedMaps.entryComparator(CharComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Character,?>> |
Char2ShortSortedMaps.entryComparator(CharComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Character,?>> |
Char2ObjectSortedMaps.entryComparator(CharComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Character,?>> |
Char2ReferenceSortedMaps.entryComparator(CharComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Character,?>> |
Char2FloatSortedMaps.entryComparator(CharComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Character,?>> |
Char2LongSortedMaps.entryComparator(CharComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Character,?>> |
Char2IntSortedMaps.entryComparator(CharComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Character,?>> |
Char2CharSortedMaps.entryComparator(CharComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Character,?>> |
Char2ByteSortedMaps.entryComparator(CharComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static Comparator<? super Map.Entry<Character,?>> |
Char2DoubleSortedMaps.entryComparator(CharComparator comparator)
Returns a comparator for entries based on a given comparator on keys.
|
static int |
CharSemiIndirectHeaps.front(char[] refArray,
int[] heap,
int size,
int[] a,
CharComparator c)
Retrieves the front of a heap in a given array using a given comparator.
|
static void |
CharIndirectHeaps.makeHeap(char[] refArray,
int[] heap,
int[] inv,
int size,
CharComparator c)
Creates an indirect heap from a given index array.
|
static void |
CharSemiIndirectHeaps.makeHeap(char[] refArray,
int[] heap,
int size,
CharComparator c)
Creates a semi-indirect heap from a given index array.
|
static void |
CharHeaps.makeHeap(char[] heap,
int size,
CharComparator c)
Makes an array into a heap.
|
static int[] |
CharSemiIndirectHeaps.makeHeap(char[] refArray,
int offset,
int length,
CharComparator c)
Creates a semi-indirect heap, allocating its heap array.
|
static void |
CharSemiIndirectHeaps.makeHeap(char[] refArray,
int offset,
int length,
int[] heap,
CharComparator c)
Creates a semi-indirect heap in the given array.
|
static void |
CharIndirectHeaps.makeHeap(char[] refArray,
int offset,
int length,
int[] heap,
int[] inv,
CharComparator c)
Creates an indirect heap in the given array.
|
static void |
CharArrays.mergeSort(char[] a,
CharComparator comp)
Sorts an array according to the order induced by the specified
comparator using mergesort.
|
static void |
CharArrays.mergeSort(char[] a,
int from,
int to,
CharComparator comp)
Sorts the specified range of elements according to the order induced by the specified
comparator using mergesort.
|
static void |
CharArrays.mergeSort(char[] a,
int from,
int to,
CharComparator comp,
char[] 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 CharComparator |
CharComparators.oppositeComparator(CharComparator c)
Returns a comparator representing the opposite order of the given comparator.
|
static void |
CharArrays.parallelQuickSort(char[] x,
CharComparator comp)
Sorts an array according to the order induced by the specified
comparator using a parallel quicksort.
|
static void |
CharArrays.parallelQuickSort(char[] x,
int from,
int to,
CharComparator comp)
Sorts the specified range of elements according to the order induced by the specified
comparator using a parallel quicksort.
|
static void |
CharBigArrays.quickSort(char[][] x,
CharComparator comp)
Sorts the specified big array according to the order induced by the specified
comparator using quicksort.
|
static void |
CharBigArrays.quickSort(char[][] x,
long from,
long to,
CharComparator comp)
Sorts the specified range of elements according to the order induced by the specified
comparator using quicksort.
|
static void |
CharArrays.quickSort(char[] x,
CharComparator comp)
Sorts an array according to the order induced by the specified
comparator using quicksort.
|
static void |
CharArrays.quickSort(char[] x,
int from,
int to,
CharComparator comp)
Sorts the specified range of elements according to the order induced by the specified
comparator using quicksort.
|
static Char2BooleanSortedMap |
Char2BooleanSortedMaps.singleton(Character key,
Boolean value,
CharComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static Char2ByteSortedMap |
Char2ByteSortedMaps.singleton(Character key,
Byte value,
CharComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static Char2CharSortedMap |
Char2CharSortedMaps.singleton(Character key,
Character value,
CharComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static Char2DoubleSortedMap |
Char2DoubleSortedMaps.singleton(Character key,
Double value,
CharComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static Char2FloatSortedMap |
Char2FloatSortedMaps.singleton(Character key,
Float value,
CharComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static Char2IntSortedMap |
Char2IntSortedMaps.singleton(Character key,
Integer value,
CharComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static Char2LongSortedMap |
Char2LongSortedMaps.singleton(Character key,
Long value,
CharComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static Char2ShortSortedMap |
Char2ShortSortedMaps.singleton(Character key,
Short value,
CharComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static <V> Char2ObjectSortedMap<V> |
Char2ObjectSortedMaps.singleton(Character key,
V value,
CharComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static <V> Char2ReferenceSortedMap<V> |
Char2ReferenceSortedMaps.singleton(Character key,
V value,
CharComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair.
|
static Char2BooleanSortedMap |
Char2BooleanSortedMaps.singleton(char key,
boolean value,
CharComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static Char2ByteSortedMap |
Char2ByteSortedMaps.singleton(char key,
byte value,
CharComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static Char2CharSortedMap |
Char2CharSortedMaps.singleton(char key,
char value,
CharComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static CharSortedSet |
CharSortedSets.singleton(char element,
CharComparator comparator)
Returns a type-specific immutable sorted set containing only the specified element, and using a specified comparator.
|
static Char2DoubleSortedMap |
Char2DoubleSortedMaps.singleton(char key,
double value,
CharComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static Char2FloatSortedMap |
Char2FloatSortedMaps.singleton(char key,
float value,
CharComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static Char2IntSortedMap |
Char2IntSortedMaps.singleton(char key,
int value,
CharComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static Char2LongSortedMap |
Char2LongSortedMaps.singleton(char key,
long value,
CharComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static Char2ShortSortedMap |
Char2ShortSortedMaps.singleton(char key,
short value,
CharComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static <V> Char2ObjectSortedMap<V> |
Char2ObjectSortedMaps.singleton(char key,
V value,
CharComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static <V> Char2ReferenceSortedMap<V> |
Char2ReferenceSortedMaps.singleton(char key,
V value,
CharComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair.
|
static CharSortedSet |
CharSortedSets.singleton(Object element,
CharComparator comparator)
Returns a type-specific immutable sorted set containing only the specified element, and using a specified comparator.
|
void |
CharLists.EmptyList.sort(CharComparator comparator) |
void |
CharLists.Singleton.sort(CharComparator comparator) |
void |
CharLists.SynchronizedList.sort(CharComparator comparator) |
void |
CharLists.UnmodifiableList.sort(CharComparator comparator) |
default void |
CharList.sort(CharComparator comparator)
Sort a list using a type-specific comparator.
|
void |
CharArrayList.sort(CharComparator comp) |
static void |
CharArrays.stableSort(char[] a,
CharComparator 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 |
CharArrays.stableSort(char[] a,
int from,
int to,
CharComparator 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 CharComparator |
CharComparator.thenComparing(CharComparator 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 |
CharArrays.unstableSort(char[] a,
CharComparator 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 |
CharArrays.unstableSort(char[] a,
int from,
int to,
CharComparator 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 |
CharLists.EmptyList.unstableSort(CharComparator comparator) |
void |
CharLists.Singleton.unstableSort(CharComparator comparator) |
void |
CharLists.SynchronizedList.unstableSort(CharComparator comparator) |
void |
CharLists.UnmodifiableList.unstableSort(CharComparator comparator) |
default void |
CharList.unstableSort(CharComparator comparator)
Sorts this list using a sort not assured to be stable.
|
void |
CharArrayList.unstableSort(CharComparator comp) |
static int |
CharIndirectHeaps.upHeap(char[] refArray,
int[] heap,
int[] inv,
int size,
int i,
CharComparator c)
Moves the given element up in the indirect heap until it reaches the highest possible position.
|
static int |
CharSemiIndirectHeaps.upHeap(char[] refArray,
int[] heap,
int size,
int i,
CharComparator c)
Moves the given element up in the semi-indirect heap until it reaches the highest possible position.
|
static int |
CharHeaps.upHeap(char[] heap,
int size,
int i,
CharComparator c)
Moves the given element up in the heap until it reaches the highest possible position.
|
| Constructor and Description |
|---|
CharArrayIndirectPriorityQueue(char[] refArray,
CharComparator c)
Creates a new empty queue with capacity equal to the length of the reference array and a given comparator.
|
CharArrayIndirectPriorityQueue(char[] refArray,
int[] a,
CharComparator c)
Wraps a given array in a queue using a given comparator.
|
CharArrayIndirectPriorityQueue(char[] refArray,
int[] a,
int size,
CharComparator c)
Wraps a given array in a queue using a given comparator.
|
CharArrayIndirectPriorityQueue(char[] refArray,
int capacity,
CharComparator c)
Creates a new empty queue without elements with a given capacity and comparator.
|
CharArrayPriorityQueue(char[] a,
CharComparator c)
Wraps a given array in a queue using a given comparator.
|
CharArrayPriorityQueue(char[] a,
int size,
CharComparator c)
Wraps a given array in a queue using a given comparator.
|
CharArrayPriorityQueue(CharComparator c)
Creates a new empty queue with a given comparator.
|
CharArrayPriorityQueue(int capacity,
CharComparator c)
Creates a new empty queue with a given capacity and comparator.
|
CharHeapIndirectPriorityQueue(char[] refArray,
CharComparator c)
Creates a new empty queue with capacity equal to the length of the reference array and a given comparator.
|
CharHeapIndirectPriorityQueue(char[] refArray,
int[] a,
CharComparator c)
Wraps a given array in a queue using a given comparator.
|
CharHeapIndirectPriorityQueue(char[] refArray,
int[] a,
int size,
CharComparator c)
Wraps a given array in a queue using a given comparator.
|
CharHeapIndirectPriorityQueue(char[] refArray,
int capacity,
CharComparator c)
Creates a new empty queue with a given capacity and comparator.
|
CharHeapPriorityQueue(char[] a,
CharComparator c)
Wraps a given array in a queue using a given comparator.
|
CharHeapPriorityQueue(char[] a,
int size,
CharComparator c)
Wraps a given array in a queue using a given comparator.
|
CharHeapPriorityQueue(CharCollection collection,
CharComparator c)
Creates a queue using the elements in a type-specific collection using a given comparator.
|
CharHeapPriorityQueue(CharComparator c)
Creates a new empty queue with a given comparator.
|
CharHeapPriorityQueue(Collection<? extends Character> collection,
CharComparator c)
Creates a queue using the elements in a collection using a given comparator.
|
CharHeapPriorityQueue(int capacity,
CharComparator c)
Creates a new empty queue with a given capacity and comparator.
|
CharHeapSemiIndirectPriorityQueue(char[] refArray,
CharComparator c)
Creates a new empty queue with capacity equal to the length of the reference array and a given comparator.
|
CharHeapSemiIndirectPriorityQueue(char[] refArray,
int[] a,
CharComparator c)
Wraps a given array in a queue using a given comparator.
|
CharHeapSemiIndirectPriorityQueue(char[] refArray,
int[] a,
int size,
CharComparator c)
Wraps a given array in a queue using a given comparator.
|
CharHeapSemiIndirectPriorityQueue(char[] refArray,
int capacity,
CharComparator c)
Creates a new empty queue without elements with a given capacity and comparator.
|
ForkJoinQuickSortComp(char[] x,
int from,
int to,
CharComparator comp) |
OppositeComparator(CharComparator c) |
Singleton(char key,
boolean value,
CharComparator comparator) |
Singleton(char key,
byte value,
CharComparator comparator) |
Singleton(char key,
char value,
CharComparator comparator) |
Singleton(char element,
CharComparator comparator) |
Singleton(char key,
double value,
CharComparator comparator) |
Singleton(char key,
float value,
CharComparator comparator) |
Singleton(char key,
int value,
CharComparator comparator) |
Singleton(char key,
long value,
CharComparator comparator) |
Singleton(char key,
short value,
CharComparator comparator) |
Singleton(char key,
V value,
CharComparator comparator) |
Singleton(char key,
V value,
CharComparator comparator) |
Copyright © 2020. All rights reserved.