Package net.minecraft.util.shape
Class OffsetDoubleList
java.lang.Object
java.util.AbstractCollection<Double>
it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection
it.unimi.dsi.fastutil.doubles.AbstractDoubleList
net.minecraft.util.shape.OffsetDoubleList
- All Implemented Interfaces:
DoubleCollection,DoubleIterable,DoubleList,DoubleStack,Stack<Double>,Comparable<List<? extends Double>>,Iterable<Double>,Collection<Double>,List<Double>
public class OffsetDoubleList extends AbstractDoubleList
-
Nested Class Summary
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleList
AbstractDoubleList.DoubleSubList -
Field Summary
Fields Modifier and Type Field Description private doubleoffsetprivate DoubleListoldList -
Constructor Summary
Constructors Constructor Description OffsetDoubleList(DoubleList oldList, double offset) -
Method Summary
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
-
oldList
-
offset
private final double offset
-
-
Constructor Details
-
OffsetDoubleList
-
-
Method Details
-
getDouble
public double getDouble(int position) -
size
public int size()- Specified by:
sizein interfaceCollection<Double>- Specified by:
sizein interfaceList<Double>- Specified by:
sizein classAbstractCollection<Double>
-