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.DoubleSubListNested classes/interfaces inherited from interface net.minecraft.util.shape.PairList
PairList.Consumer -
Field Summary
Fields Modifier and Type Field Description private DoubleListfirstprivate booleaninvertedprivate DoubleListsecond -
Constructor Summary
Constructors Modifier Constructor Description protectedDisjointPairList(DoubleList first, DoubleList second, boolean inverted) -
Method Summary
Modifier and Type Method Description booleanforEachPair(PairList.Consumer predicate)doublegetDouble(int position)DoubleListgetPairs()private booleaniterateSections(PairList.Consumer consumer)intsize()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, toStringMethods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection
add, contains, containsAll, remove, removeAll, retainAll, toArray, toDoubleArray, toDoubleArrayMethods inherited from class java.util.AbstractCollection
containsAll, isEmpty, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleCollection
containsAll, removeAll, removeIf, removeIf, retainAll, toArray, toDoubleArray, toDoubleArrayMethods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleIterable
forEach, forEachMethods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleList
add, add, contains, get, indexOf, lastIndexOf, remove, remove, setMethods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleStack
peek, pop, push, topMethods 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:
forEachPairin interfacePairList
-
iterateSections
-
getDouble
public double getDouble(int position)- Specified by:
getDoublein interfaceDoubleList
-
getPairs
-