Package net.minecraft.util.shape
Class DisjointPairList
java.lang.Object
java.util.AbstractCollection<Double>
it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection
it.unimi.dsi.fastutil.doubles.AbstractDoubleList
net.minecraft.util.shape.DisjointPairList
- All Implemented Interfaces:
DoubleCollection
,DoubleIterable
,DoubleList
,DoubleStack
,Stack<Double>
,Comparable<List<? extends Double>>
,Iterable<Double>
,Collection<Double>
,List<Double>
,PairList
public class DisjointPairList extends AbstractDoubleList implements PairList
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleList
AbstractDoubleList.DoubleSubList
Nested classes/interfaces inherited from interface net.minecraft.util.shape.PairList
PairList.Consumer
-
Field Summary
Fields Modifier and Type Field Description private DoubleList
first
private boolean
inverted
private DoubleList
second
-
Constructor Summary
Constructors Modifier Constructor Description protected
DisjointPairList(DoubleList first, DoubleList second, boolean inverted)
-
Method Summary
Modifier and Type Method Description boolean
forEachPair(PairList.Consumer predicate)
double
getDouble(int position)
DoubleList
getPairs()
private boolean
iterateSections(PairList.Consumer consumer)
int
size()
Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleList
add, add, addAll, addAll, addAll, addAll, addAll, addAll, addElements, addElements, clear, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, getElements, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, peekDouble, popDouble, push, rem, removeDouble, removeElements, set, size, subList, topDouble, toString
Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection
add, contains, containsAll, remove, removeAll, retainAll, toArray, toDoubleArray, toDoubleArray
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleCollection
containsAll, removeAll, removeIf, removeIf, retainAll, toArray, toDoubleArray, toDoubleArray
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleIterable
forEach, forEach
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleList
add, add, contains, get, indexOf, lastIndexOf, remove, remove, set
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleStack
peek, pop, push, top
Methods inherited from interface java.util.List
containsAll, isEmpty, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Field Details
-
first
-
second
-
inverted
private final boolean inverted
-
-
Constructor Details
-
DisjointPairList
-
-
Method Details
-
size
public int size() -
forEachPair
- Specified by:
forEachPair
in interfacePairList
-
iterateSections
-
getDouble
public double getDouble(int position)- Specified by:
getDouble
in interfaceDoubleList
-
getPairs
-