|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ShortComparator | |
---|---|
it.unimi.dsi.fastutil.shorts | Provides type-specific classes for short elements or keys. |
Uses of ShortComparator in it.unimi.dsi.fastutil.shorts |
---|
Classes in it.unimi.dsi.fastutil.shorts that implement ShortComparator | |
---|---|
class |
AbstractShortComparator
An abstract class facilitating the creation of type-specific comparators. |
Fields in it.unimi.dsi.fastutil.shorts declared as ShortComparator | |
---|---|
protected ShortComparator |
ShortAVLTreeSet.actualComparator
This set's actual comparator; it may differ from ShortAVLTreeSet.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2ReferenceRBTreeMap.actualComparator
This map's actual comparator; it may differ from Short2ReferenceRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2LongAVLTreeMap.actualComparator
This map's actual comparator; it may differ from Short2LongAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2ObjectAVLTreeMap.actualComparator
This map's actual comparator; it may differ from Short2ObjectAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2ByteRBTreeMap.actualComparator
This map's actual comparator; it may differ from Short2ByteRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2BooleanRBTreeMap.actualComparator
This map's actual comparator; it may differ from Short2BooleanRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2FloatRBTreeMap.actualComparator
This map's actual comparator; it may differ from Short2FloatRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2ObjectRBTreeMap.actualComparator
This map's actual comparator; it may differ from Short2ObjectRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2BooleanAVLTreeMap.actualComparator
This map's actual comparator; it may differ from Short2BooleanAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2DoubleRBTreeMap.actualComparator
This map's actual comparator; it may differ from Short2DoubleRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2ReferenceAVLTreeMap.actualComparator
This map's actual comparator; it may differ from Short2ReferenceAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
ShortRBTreeSet.actualComparator
This set's actual comparator; it may differ from ShortRBTreeSet.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2FloatAVLTreeMap.actualComparator
This map's actual comparator; it may differ from Short2FloatAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2DoubleAVLTreeMap.actualComparator
This map's actual comparator; it may differ from Short2DoubleAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2CharRBTreeMap.actualComparator
This map's actual comparator; it may differ from Short2CharRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2IntRBTreeMap.actualComparator
This map's actual comparator; it may differ from Short2IntRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2LongRBTreeMap.actualComparator
This map's actual comparator; it may differ from Short2LongRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2ShortRBTreeMap.actualComparator
This map's actual comparator; it may differ from Short2ShortRBTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2CharAVLTreeMap.actualComparator
This map's actual comparator; it may differ from Short2CharAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2ByteAVLTreeMap.actualComparator
This map's actual comparator; it may differ from Short2ByteAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2ShortAVLTreeMap.actualComparator
This map's actual comparator; it may differ from Short2ShortAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
Short2IntAVLTreeMap.actualComparator
This map's actual comparator; it may differ from Short2IntAVLTreeMap.storedComparator because it is
always a type-specific comparator, so it could be derived from the former by wrapping. |
protected ShortComparator |
ShortHeapSemiIndirectPriorityQueue.c
The type-specific comparator used in this queue. |
protected ShortComparator |
ShortArrayIndirectPriorityQueue.c
The type-specific comparator used in this queue. |
protected ShortComparator |
ShortArrayPriorityQueue.c
The type-specific comparator used in this queue. |
protected ShortComparator |
ShortHeapPriorityQueue.c
The type-specific comparator used in this queue. |
protected ShortComparator |
Short2BooleanSortedMaps.Singleton.comparator
|
protected ShortComparator |
Short2IntSortedMaps.Singleton.comparator
|
protected ShortComparator |
Short2LongSortedMaps.Singleton.comparator
|
protected ShortComparator |
Short2ObjectSortedMaps.Singleton.comparator
|
protected ShortComparator |
Short2FloatSortedMaps.Singleton.comparator
|
protected ShortComparator |
Short2ByteSortedMaps.Singleton.comparator
|
protected ShortComparator |
Short2ShortSortedMaps.Singleton.comparator
|
protected ShortComparator |
Short2CharSortedMaps.Singleton.comparator
|
protected ShortComparator |
Short2DoubleSortedMaps.Singleton.comparator
|
protected ShortComparator |
Short2ReferenceSortedMaps.Singleton.comparator
|
static ShortComparator |
ShortComparators.NATURAL_COMPARATOR
A type-specific comparator mimicking the natural order. |
static ShortComparator |
ShortComparators.OPPOSITE_COMPARATOR
A type-specific comparator mimicking the opposite of the natural order. |
Methods in it.unimi.dsi.fastutil.shorts that return ShortComparator | |
---|---|
ShortComparator |
Short2BooleanSortedMaps.EmptySortedMap.comparator()
|
ShortComparator |
Short2BooleanSortedMaps.Singleton.comparator()
|
ShortComparator |
Short2BooleanSortedMaps.SynchronizedSortedMap.comparator()
|
ShortComparator |
Short2BooleanSortedMaps.UnmodifiableSortedMap.comparator()
|
ShortComparator |
Short2IntSortedMaps.EmptySortedMap.comparator()
|
ShortComparator |
Short2IntSortedMaps.Singleton.comparator()
|
ShortComparator |
Short2IntSortedMaps.SynchronizedSortedMap.comparator()
|
ShortComparator |
Short2IntSortedMaps.UnmodifiableSortedMap.comparator()
|
ShortComparator |
Short2IntLinkedOpenHashMap.comparator()
|
ShortComparator |
ShortIndirectPriorityQueue.comparator()
Returns the comparator associated with this queue. |
ShortComparator |
AbstractShort2LongSortedMap.KeySet.comparator()
|
ShortComparator |
ShortPriorityQueue.comparator()
Returns the comparator associated with this sorted set, or null if it uses its elements' natural ordering. |
ShortComparator |
ShortSortedSet.comparator()
Returns the comparator associated with this sorted set, or null if it uses its elements' natural ordering. |
ShortComparator |
Short2LongSortedMaps.EmptySortedMap.comparator()
|
ShortComparator |
Short2LongSortedMaps.Singleton.comparator()
|
ShortComparator |
Short2LongSortedMaps.SynchronizedSortedMap.comparator()
|
ShortComparator |
Short2LongSortedMaps.UnmodifiableSortedMap.comparator()
|
ShortComparator |
AbstractShort2BooleanSortedMap.KeySet.comparator()
|
ShortComparator |
ShortAVLTreeSet.comparator()
|
ShortComparator |
Short2ReferenceLinkedOpenHashMap.comparator()
|
ShortComparator |
Short2ShortLinkedOpenHashMap.comparator()
|
ShortComparator |
Short2DoubleLinkedOpenHashMap.comparator()
|
ShortComparator |
Short2ReferenceRBTreeMap.comparator()
|
ShortComparator |
Short2LongAVLTreeMap.comparator()
|
ShortComparator |
Short2BooleanSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering. |
ShortComparator |
Short2ObjectAVLTreeMap.comparator()
|
ShortComparator |
ShortLinkedOpenHashSet.comparator()
|
ShortComparator |
Short2ByteRBTreeMap.comparator()
|
ShortComparator |
Short2BooleanRBTreeMap.comparator()
|
ShortComparator |
AbstractShort2CharSortedMap.KeySet.comparator()
|
ShortComparator |
Short2LongLinkedOpenHashMap.comparator()
|
ShortComparator |
Short2FloatRBTreeMap.comparator()
|
ShortComparator |
Short2ObjectRBTreeMap.comparator()
|
ShortComparator |
Short2ShortSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering. |
ShortComparator |
AbstractShort2ObjectSortedMap.KeySet.comparator()
|
ShortComparator |
ShortHeapSemiIndirectPriorityQueue.comparator()
|
ShortComparator |
AbstractShort2ShortSortedMap.KeySet.comparator()
|
ShortComparator |
Short2ObjectSortedMaps.EmptySortedMap.comparator()
|
ShortComparator |
Short2ObjectSortedMaps.Singleton.comparator()
|
ShortComparator |
Short2ObjectSortedMaps.SynchronizedSortedMap.comparator()
|
ShortComparator |
Short2ObjectSortedMaps.UnmodifiableSortedMap.comparator()
|
ShortComparator |
Short2FloatSortedMaps.EmptySortedMap.comparator()
|
ShortComparator |
Short2FloatSortedMaps.Singleton.comparator()
|
ShortComparator |
Short2FloatSortedMaps.SynchronizedSortedMap.comparator()
|
ShortComparator |
Short2FloatSortedMaps.UnmodifiableSortedMap.comparator()
|
ShortComparator |
AbstractShort2ByteSortedMap.KeySet.comparator()
|
ShortComparator |
Short2ByteSortedMaps.EmptySortedMap.comparator()
|
ShortComparator |
Short2ByteSortedMaps.Singleton.comparator()
|
ShortComparator |
Short2ByteSortedMaps.SynchronizedSortedMap.comparator()
|
ShortComparator |
Short2ByteSortedMaps.UnmodifiableSortedMap.comparator()
|
ShortComparator |
Short2BooleanAVLTreeMap.comparator()
|
ShortComparator |
Short2ShortSortedMaps.EmptySortedMap.comparator()
|
ShortComparator |
Short2ShortSortedMaps.Singleton.comparator()
|
ShortComparator |
Short2ShortSortedMaps.SynchronizedSortedMap.comparator()
|
ShortComparator |
Short2ShortSortedMaps.UnmodifiableSortedMap.comparator()
|
ShortComparator |
ShortArrayFIFOQueue.comparator()
Returns null (FIFO queues have no comparator). |
ShortComparator |
Short2FloatSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering. |
ShortComparator |
ShortArrayIndirectPriorityQueue.comparator()
|
ShortComparator |
Short2DoubleRBTreeMap.comparator()
|
ShortComparator |
Short2ReferenceAVLTreeMap.comparator()
|
ShortComparator |
ShortRBTreeSet.comparator()
|
ShortComparator |
Short2FloatAVLTreeMap.comparator()
|
ShortComparator |
Short2ByteSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering. |
ShortComparator |
Short2DoubleAVLTreeMap.comparator()
|
ShortComparator |
AbstractShort2DoubleSortedMap.KeySet.comparator()
|
ShortComparator |
Short2CharRBTreeMap.comparator()
|
ShortComparator |
Short2IntRBTreeMap.comparator()
|
ShortComparator |
Short2CharSortedMaps.EmptySortedMap.comparator()
|
ShortComparator |
Short2CharSortedMaps.Singleton.comparator()
|
ShortComparator |
Short2CharSortedMaps.SynchronizedSortedMap.comparator()
|
ShortComparator |
Short2CharSortedMaps.UnmodifiableSortedMap.comparator()
|
ShortComparator |
Short2DoubleSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering. |
ShortComparator |
ShortPriorityQueues.SynchronizedPriorityQueue.comparator()
|
ShortComparator |
Short2CharLinkedOpenHashMap.comparator()
|
ShortComparator |
Short2FloatLinkedOpenHashMap.comparator()
|
ShortComparator |
ShortLinkedOpenCustomHashSet.comparator()
|
ShortComparator |
Short2LongSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering. |
ShortComparator |
Short2ReferenceSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering. |
ShortComparator |
Short2DoubleSortedMaps.EmptySortedMap.comparator()
|
ShortComparator |
Short2DoubleSortedMaps.Singleton.comparator()
|
ShortComparator |
Short2DoubleSortedMaps.SynchronizedSortedMap.comparator()
|
ShortComparator |
Short2DoubleSortedMaps.UnmodifiableSortedMap.comparator()
|
ShortComparator |
Short2LongRBTreeMap.comparator()
|
ShortComparator |
Short2ByteLinkedOpenHashMap.comparator()
|
ShortComparator |
Short2ObjectLinkedOpenHashMap.comparator()
|
ShortComparator |
Short2CharSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering. |
ShortComparator |
Short2ShortRBTreeMap.comparator()
|
ShortComparator |
ShortArrayPriorityQueue.comparator()
|
ShortComparator |
Short2CharAVLTreeMap.comparator()
|
ShortComparator |
AbstractShort2FloatSortedMap.KeySet.comparator()
|
ShortComparator |
AbstractShort2ReferenceSortedMap.KeySet.comparator()
|
ShortComparator |
Short2ByteAVLTreeMap.comparator()
|
ShortComparator |
Short2ShortAVLTreeMap.comparator()
|
ShortComparator |
ShortHeapPriorityQueue.comparator()
|
ShortComparator |
Short2ObjectSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering. |
ShortComparator |
ShortSortedSets.EmptySet.comparator()
|
ShortComparator |
ShortSortedSets.Singleton.comparator()
|
ShortComparator |
ShortSortedSets.SynchronizedSortedSet.comparator()
|
ShortComparator |
ShortSortedSets.UnmodifiableSortedSet.comparator()
|
ShortComparator |
Short2IntSortedMap.comparator()
Returns the comparator associated with this sorted set, or null if it uses its keys' natural ordering. |
ShortComparator |
Short2IntAVLTreeMap.comparator()
|
ShortComparator |
Short2BooleanLinkedOpenHashMap.comparator()
|
ShortComparator |
AbstractShort2IntSortedMap.KeySet.comparator()
|
ShortComparator |
Short2ReferenceSortedMaps.EmptySortedMap.comparator()
|
ShortComparator |
Short2ReferenceSortedMaps.Singleton.comparator()
|
ShortComparator |
Short2ReferenceSortedMaps.SynchronizedSortedMap.comparator()
|
ShortComparator |
Short2ReferenceSortedMaps.UnmodifiableSortedMap.comparator()
|
static ShortComparator |
ShortComparators.oppositeComparator(ShortComparator c)
Returns a comparator representing the opposite order of the given comparator. |
Methods in it.unimi.dsi.fastutil.shorts with parameters of type ShortComparator | ||
---|---|---|
static long |
ShortBigArrays.binarySearch(short[][] a,
long from,
long to,
short key,
ShortComparator c)
Searches a range of the specified big array for the specified value using the binary search algorithm and a specified comparator. |
|
static long |
ShortBigArrays.binarySearch(short[][] a,
short key,
ShortComparator c)
Searches a big array for the specified value using the binary search algorithm and a specified comparator. |
|
static int |
ShortArrays.binarySearch(short[] a,
int from,
int to,
short key,
ShortComparator c)
Searches a range of the specified array for the specified value using the binary search algorithm and a specified comparator. |
|
static int |
ShortArrays.binarySearch(short[] a,
short key,
ShortComparator c)
Searches an array for the specified value using the binary search algorithm and a specified comparator. |
|
static int |
ShortIndirectHeaps.downHeap(short[] refArray,
int[] heap,
int[] inv,
int size,
int i,
ShortComparator c)
Moves the given element down into the indirect heap until it reaches the lowest possible position. |
|
static int |
ShortSemiIndirectHeaps.downHeap(short[] refArray,
int[] heap,
int size,
int i,
ShortComparator c)
Moves the given element down into the semi-indirect heap until it reaches the lowest possible position. |
|
static int |
ShortHeaps.downHeap(short[] heap,
int size,
int i,
ShortComparator c)
Moves the given element down into the heap until it reaches the lowest possible position. |
|
static Comparator<? super Map.Entry<Short,?>> |
Short2BooleanSortedMaps.entryComparator(ShortComparator comparator)
Returns a comparator for entries based on a given comparator on keys. |
|
static Comparator<? super Map.Entry<Short,?>> |
Short2IntSortedMaps.entryComparator(ShortComparator comparator)
Returns a comparator for entries based on a given comparator on keys. |
|
static Comparator<? super Map.Entry<Short,?>> |
Short2LongSortedMaps.entryComparator(ShortComparator comparator)
Returns a comparator for entries based on a given comparator on keys. |
|
static Comparator<? super Map.Entry<Short,?>> |
Short2ObjectSortedMaps.entryComparator(ShortComparator comparator)
Returns a comparator for entries based on a given comparator on keys. |
|
static Comparator<? super Map.Entry<Short,?>> |
Short2FloatSortedMaps.entryComparator(ShortComparator comparator)
Returns a comparator for entries based on a given comparator on keys. |
|
static Comparator<? super Map.Entry<Short,?>> |
Short2ByteSortedMaps.entryComparator(ShortComparator comparator)
Returns a comparator for entries based on a given comparator on keys. |
|
static Comparator<? super Map.Entry<Short,?>> |
Short2ShortSortedMaps.entryComparator(ShortComparator comparator)
Returns a comparator for entries based on a given comparator on keys. |
|
static Comparator<? super Map.Entry<Short,?>> |
Short2CharSortedMaps.entryComparator(ShortComparator comparator)
Returns a comparator for entries based on a given comparator on keys. |
|
static Comparator<? super Map.Entry<Short,?>> |
Short2DoubleSortedMaps.entryComparator(ShortComparator comparator)
Returns a comparator for entries based on a given comparator on keys. |
|
static Comparator<? super Map.Entry<Short,?>> |
Short2ReferenceSortedMaps.entryComparator(ShortComparator comparator)
Returns a comparator for entries based on a given comparator on keys. |
|
static void |
ShortIndirectHeaps.makeHeap(short[] refArray,
int[] heap,
int[] inv,
int size,
ShortComparator c)
Creates an indirect heap from a given index array. |
|
static void |
ShortSemiIndirectHeaps.makeHeap(short[] refArray,
int[] heap,
int size,
ShortComparator c)
Creates a semi-indirect heap from a given index array. |
|
static void |
ShortIndirectHeaps.makeHeap(short[] refArray,
int offset,
int length,
int[] heap,
int[] inv,
ShortComparator c)
Creates an indirect heap in the given array. |
|
static void |
ShortSemiIndirectHeaps.makeHeap(short[] refArray,
int offset,
int length,
int[] heap,
ShortComparator c)
Creates a semi-indirect heap in the given array. |
|
static int[] |
ShortSemiIndirectHeaps.makeHeap(short[] refArray,
int offset,
int length,
ShortComparator c)
Creates a semi-indirect heap, allocating its heap array. |
|
static void |
ShortHeaps.makeHeap(short[] heap,
int size,
ShortComparator c)
Makes an array into a heap. |
|
static void |
ShortArrays.mergeSort(short[] a,
int from,
int to,
ShortComparator comp)
Sorts the specified range of elements according to the order induced by the specified comparator using mergesort. |
|
static void |
ShortArrays.mergeSort(short[] a,
int from,
int to,
ShortComparator comp,
short[] supp)
Sorts the specified range of elements according to the order induced by the specified comparator using mergesort, using a given support array. |
|
static void |
ShortArrays.mergeSort(short[] a,
ShortComparator comp)
Sorts an array according to the order induced by the specified comparator using mergesort. |
|
static ShortComparator |
ShortComparators.oppositeComparator(ShortComparator c)
Returns a comparator representing the opposite order of the given comparator. |
|
static void |
ShortBigArrays.quickSort(short[][] x,
long from,
long to,
ShortComparator comp)
Sorts the specified range of elements according to the order induced by the specified comparator using quicksort. |
|
static void |
ShortBigArrays.quickSort(short[][] x,
ShortComparator comp)
Sorts the specified big array according to the order induced by the specified comparator using quicksort. |
|
static void |
ShortArrays.quickSort(short[] x,
int from,
int to,
ShortComparator comp)
Sorts the specified range of elements according to the order induced by the specified comparator using quicksort. |
|
static void |
ShortArrays.quickSort(short[] x,
ShortComparator comp)
Sorts an array according to the order induced by the specified comparator using quicksort. |
|
static ShortSortedSet |
ShortSortedSets.singleton(Object element,
ShortComparator comparator)
Returns a type-specific immutable sorted set containing only the specified element, and using a specified comparator. |
|
static Short2BooleanSortedMap |
Short2BooleanSortedMaps.singleton(short key,
boolean value,
ShortComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair. |
|
static Short2BooleanSortedMap |
Short2BooleanSortedMaps.singleton(Short key,
Boolean value,
ShortComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair. |
|
static Short2ByteSortedMap |
Short2ByteSortedMaps.singleton(short key,
byte value,
ShortComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair. |
|
static Short2ByteSortedMap |
Short2ByteSortedMaps.singleton(Short key,
Byte value,
ShortComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair. |
|
static Short2CharSortedMap |
Short2CharSortedMaps.singleton(Short key,
Character value,
ShortComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair. |
|
static Short2CharSortedMap |
Short2CharSortedMaps.singleton(short key,
char value,
ShortComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair. |
|
static Short2DoubleSortedMap |
Short2DoubleSortedMaps.singleton(short key,
double value,
ShortComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair. |
|
static Short2DoubleSortedMap |
Short2DoubleSortedMaps.singleton(Short key,
Double value,
ShortComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair. |
|
static Short2FloatSortedMap |
Short2FloatSortedMaps.singleton(short key,
float value,
ShortComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair. |
|
static Short2FloatSortedMap |
Short2FloatSortedMaps.singleton(Short key,
Float value,
ShortComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair. |
|
static Short2IntSortedMap |
Short2IntSortedMaps.singleton(Short key,
Integer value,
ShortComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair. |
|
static Short2IntSortedMap |
Short2IntSortedMaps.singleton(short key,
int value,
ShortComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair. |
|
static Short2LongSortedMap |
Short2LongSortedMaps.singleton(short key,
long value,
ShortComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair. |
|
static Short2LongSortedMap |
Short2LongSortedMaps.singleton(Short key,
Long value,
ShortComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair. |
|
static ShortSortedSet |
ShortSortedSets.singleton(short element,
ShortComparator comparator)
Returns a type-specific immutable sorted set containing only the specified element, and using a specified comparator. |
|
static Short2ShortSortedMap |
Short2ShortSortedMaps.singleton(short key,
short value,
ShortComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair. |
|
static Short2ShortSortedMap |
Short2ShortSortedMaps.singleton(Short key,
Short value,
ShortComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair. |
|
static
|
Short2ObjectSortedMaps.singleton(short key,
V value,
ShortComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair. |
|
static
|
Short2ReferenceSortedMaps.singleton(short key,
V value,
ShortComparator comparator)
Returns a type-specific immutable sorted map containing only the specified pair. |
|
static
|
Short2ObjectSortedMaps.singleton(Short key,
V value,
ShortComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair. |
|
static
|
Short2ReferenceSortedMaps.singleton(Short key,
V value,
ShortComparator comparator)
RETURNS a type-specific immutable sorted map containing only the specified pair. |
|
static int |
ShortIndirectHeaps.upHeap(short[] refArray,
int[] heap,
int[] inv,
int size,
int i,
ShortComparator c)
Moves the given element up in the indirect heap until it reaches the highest possible position. |
|
static int |
ShortSemiIndirectHeaps.upHeap(short[] refArray,
int[] heap,
int size,
int i,
ShortComparator c)
Moves the given element up in the semi-indirect heap until it reaches the highest possible position. |
|
static int |
ShortHeaps.upHeap(short[] heap,
int size,
int i,
ShortComparator c)
Moves the given element up in the heap until it reaches the highest possible position. |
Constructors in it.unimi.dsi.fastutil.shorts with parameters of type ShortComparator | |
---|---|
Short2BooleanSortedMaps.Singleton(short key,
boolean value,
ShortComparator comparator)
|
|
Short2ByteSortedMaps.Singleton(short key,
byte value,
ShortComparator comparator)
|
|
Short2CharSortedMaps.Singleton(short key,
char value,
ShortComparator comparator)
|
|
Short2DoubleSortedMaps.Singleton(short key,
double value,
ShortComparator comparator)
|
|
Short2FloatSortedMaps.Singleton(short key,
float value,
ShortComparator comparator)
|
|
Short2IntSortedMaps.Singleton(short key,
int value,
ShortComparator comparator)
|
|
Short2LongSortedMaps.Singleton(short key,
long value,
ShortComparator comparator)
|
|
Short2ObjectSortedMaps.Singleton(short key,
V value,
ShortComparator comparator)
|
|
Short2ReferenceSortedMaps.Singleton(short key,
V value,
ShortComparator comparator)
|
|
Short2ShortSortedMaps.Singleton(short key,
short value,
ShortComparator comparator)
|
|
ShortArrayIndirectPriorityQueue(short[] refArray,
int[] a,
int size,
ShortComparator c)
Wraps a given array in a queue using a given comparator. |
|
ShortArrayIndirectPriorityQueue(short[] refArray,
int[] a,
ShortComparator c)
Wraps a given array in a queue using a given comparator. |
|
ShortArrayIndirectPriorityQueue(short[] refArray,
int capacity,
ShortComparator c)
Creates a new empty queue without elements with a given capacity and comparator. |
|
ShortArrayIndirectPriorityQueue(short[] refArray,
ShortComparator c)
Creates a new empty queue with capacity equal to the length of the reference array and a given comparator. |
|
ShortArrayPriorityQueue(int capacity,
ShortComparator c)
Creates a new empty queue with a given capacity and comparator. |
|
ShortArrayPriorityQueue(short[] a,
int size,
ShortComparator c)
Wraps a given array in a queue using a given comparator. |
|
ShortArrayPriorityQueue(short[] a,
ShortComparator c)
Wraps a given array in a queue using a given comparator. |
|
ShortArrayPriorityQueue(ShortComparator c)
Creates a new empty queue with a given comparator. |
|
ShortHeapIndirectPriorityQueue(short[] refArray,
int[] a,
int size,
ShortComparator c)
Wraps a given array in a queue using a given comparator. |
|
ShortHeapIndirectPriorityQueue(short[] refArray,
int[] a,
ShortComparator c)
Wraps a given array in a queue using a given comparator. |
|
ShortHeapIndirectPriorityQueue(short[] refArray,
int capacity,
ShortComparator c)
Creates a new empty queue with a given capacity and comparator. |
|
ShortHeapIndirectPriorityQueue(short[] refArray,
ShortComparator c)
Creates a new empty queue with capacity equal to the length of the reference array and a given comparator. |
|
ShortHeapPriorityQueue(int capacity,
ShortComparator c)
Creates a new empty queue with a given capacity and comparator. |
|
ShortHeapPriorityQueue(short[] a,
int size,
ShortComparator c)
Wraps a given array in a queue using a given comparator. |
|
ShortHeapPriorityQueue(short[] a,
ShortComparator c)
Wraps a given array in a queue using a given comparator. |
|
ShortHeapPriorityQueue(ShortComparator c)
Creates a new empty queue with a given comparator. |
|
ShortHeapSemiIndirectPriorityQueue(short[] refArray,
int[] a,
int size,
ShortComparator c)
Wraps a given array in a queue using a given comparator. |
|
ShortHeapSemiIndirectPriorityQueue(short[] refArray,
int[] a,
ShortComparator c)
Wraps a given array in a queue using a given comparator. |
|
ShortHeapSemiIndirectPriorityQueue(short[] refArray,
int capacity,
ShortComparator c)
Creates a new empty queue without elements with a given capacity and comparator. |
|
ShortHeapSemiIndirectPriorityQueue(short[] refArray,
ShortComparator c)
Creates a new empty queue with capacity equal to the length of the reference array and a given comparator. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |