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
- Mappings:
Namespace Name official djiintermediary net/minecraft/class_257named net/minecraft/util/shape/DisjointPairList
-
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
- Mappings:
Namespace Name Mixin selector official aLdji;a:Lit/unimi/dsi/fastutil/doubles/DoubleList;intermediary field_1381Lnet/minecraft/class_257;field_1381:Lit/unimi/dsi/fastutil/doubles/DoubleList;named firstLnet/minecraft/util/shape/DisjointPairList;first:Lit/unimi/dsi/fastutil/doubles/DoubleList;
-
second
- Mappings:
Namespace Name Mixin selector official bLdji;b:Lit/unimi/dsi/fastutil/doubles/DoubleList;intermediary field_1379Lnet/minecraft/class_257;field_1379:Lit/unimi/dsi/fastutil/doubles/DoubleList;named secondLnet/minecraft/util/shape/DisjointPairList;second:Lit/unimi/dsi/fastutil/doubles/DoubleList;
-
inverted
private final boolean inverted- Mappings:
Namespace Name Mixin selector official cLdji;c:Zintermediary field_1380Lnet/minecraft/class_257;field_1380:Znamed invertedLnet/minecraft/util/shape/DisjointPairList;inverted:Z
-
-
Constructor Details
-
DisjointPairList
- Mappings:
Namespace Name Mixin selector official <init>Ldji;<init>(Lit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;Z)Vintermediary <init>Lnet/minecraft/class_257;<init>(Lit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;Z)Vnamed <init>Lnet/minecraft/util/shape/DisjointPairList;<init>(Lit/unimi/dsi/fastutil/doubles/DoubleList;Lit/unimi/dsi/fastutil/doubles/DoubleList;Z)V
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<Double>- Specified by:
sizein interfaceList<Double>- Specified by:
sizein interfacePairList- Specified by:
sizein classAbstractCollection<Double>- Mappings:
Namespace Name Mixin selector official sizeLdjg;size()Iintermediary sizeLnet/minecraft/class_255;size()Inamed sizeLnet/minecraft/util/shape/PairList;size()I
-
forEachPair
- Specified by:
forEachPairin interfacePairList- Mappings:
Namespace Name Mixin selector official aLdjg;a(Ldjg$a;)Zintermediary method_1065Lnet/minecraft/class_255;method_1065(Lnet/minecraft/class_255$class_256;)Znamed forEachPairLnet/minecraft/util/shape/PairList;forEachPair(Lnet/minecraft/util/shape/PairList$Consumer;)Z
-
iterateSections
- Mappings:
Namespace Name Mixin selector official bLdji;b(Ldjg$a;)Zintermediary method_1067Lnet/minecraft/class_257;method_1067(Lnet/minecraft/class_255$class_256;)Znamed iterateSectionsLnet/minecraft/util/shape/DisjointPairList;iterateSections(Lnet/minecraft/util/shape/PairList$Consumer;)Z
-
getDouble
public double getDouble(int position)- Specified by:
getDoublein interfaceDoubleList- Mappings:
Namespace Name Mixin selector official getDoubleLdji;getDouble(I)Dintermediary getDoubleLnet/minecraft/class_257;getDouble(I)Dnamed getDoubleLnet/minecraft/util/shape/DisjointPairList;getDouble(I)D
-
getPairs
- Specified by:
getPairsin interfacePairList- Mappings:
Namespace Name Mixin selector official aLdjg;a()Lit/unimi/dsi/fastutil/doubles/DoubleList;intermediary method_1066Lnet/minecraft/class_255;method_1066()Lit/unimi/dsi/fastutil/doubles/DoubleList;named getPairsLnet/minecraft/util/shape/PairList;getPairs()Lit/unimi/dsi/fastutil/doubles/DoubleList;
-