Package net.minecraft.world.phys.shapes
Class NonOverlappingMerger
java.lang.Object
java.util.AbstractCollection<Double>
it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection
it.unimi.dsi.fastutil.doubles.AbstractDoubleList
net.minecraft.world.phys.shapes.NonOverlappingMerger
- All Implemented Interfaces:
it.unimi.dsi.fastutil.doubles.DoubleCollection,it.unimi.dsi.fastutil.doubles.DoubleIterable,it.unimi.dsi.fastutil.doubles.DoubleList,it.unimi.dsi.fastutil.doubles.DoubleStack,it.unimi.dsi.fastutil.Stack<Double>,Comparable<List<? extends Double>>,Iterable<Double>,Collection<Double>,List<Double>,SequencedCollection<Double>,IndexMerger
public class NonOverlappingMerger
extends it.unimi.dsi.fastutil.doubles.AbstractDoubleList
implements IndexMerger
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleList
it.unimi.dsi.fastutil.doubles.AbstractDoubleList.DoubleRandomAccessSubList, it.unimi.dsi.fastutil.doubles.AbstractDoubleList.DoubleSubListNested classes/interfaces inherited from interface net.minecraft.world.phys.shapes.IndexMerger
IndexMerger.IndexConsumer -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNonOverlappingMerger(it.unimi.dsi.fastutil.doubles.DoubleList p_83012_, it.unimi.dsi.fastutil.doubles.DoubleList p_83013_, boolean p_83014_) -
Method Summary
Modifier and TypeMethodDescriptionbooleanforMergedIndexes(IndexMerger.IndexConsumer p_83017_) private booleandoublegetDouble(int p_83026_) it.unimi.dsi.fastutil.doubles.DoubleListgetList()intsize()Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleList
add, add, addAll, addAll, addAll, addAll, addElements, addElements, clear, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, forEach, getElements, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, peekDouble, popDouble, push, rem, removeDouble, removeElements, replaceAll, set, setElements, size, subList, toArray, toDoubleArray, topDouble, toStringMethods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection
add, contains, containsAll, containsAll, forEach, remove, removeAll, removeAll, removeIf, retainAll, retainAll, toDoubleArrayMethods inherited from class java.util.AbstractCollection
isEmpty, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
toArrayMethods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleCollection
containsAll, doubleIterator, doubleParallelStream, doubleSpliterator, doubleStream, parallelStream, removeAll, removeIf, removeIf, removeIf, retainAll, spliterator, stream, toDoubleArrayMethods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleIterable
forEach, forEachMethods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleList
add, add, addAll, addAll, contains, get, indexOf, lastIndexOf, remove, remove, replaceAll, replaceAll, set, setElements, setElements, sort, sort, spliterator, unstableSort, unstableSortMethods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleStack
peek, pop, push, topMethods inherited from interface java.util.List
addFirst, addLast, containsAll, getFirst, getLast, isEmpty, removeAll, removeFirst, removeLast, retainAll, reversed, toArray, toArrayMethods inherited from interface it.unimi.dsi.fastutil.Stack
isEmpty
-
Field Details
-
lower
private final it.unimi.dsi.fastutil.doubles.DoubleList lower -
upper
private final it.unimi.dsi.fastutil.doubles.DoubleList upper -
swap
private final boolean swap
-
-
Constructor Details
-
NonOverlappingMerger
protected NonOverlappingMerger(it.unimi.dsi.fastutil.doubles.DoubleList p_83012_, it.unimi.dsi.fastutil.doubles.DoubleList p_83013_, boolean p_83014_)
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<Double>- Specified by:
sizein interfaceIndexMerger- Specified by:
sizein interfaceList<Double>- Specified by:
sizein classAbstractCollection<Double>
-
forMergedIndexes
- Specified by:
forMergedIndexesin interfaceIndexMerger
-
forNonSwappedIndexes
-
getDouble
public double getDouble(int p_83026_) - Specified by:
getDoublein interfaceit.unimi.dsi.fastutil.doubles.DoubleList
-
getList
public it.unimi.dsi.fastutil.doubles.DoubleList getList()- Specified by:
getListin interfaceIndexMerger
-