public class NonOverlappingMerger extends it.unimi.dsi.fastutil.doubles.AbstractDoubleList implements IDoubleListMerger
it.unimi.dsi.fastutil.doubles.AbstractDoubleList.DoubleSubList
IDoubleListMerger.IConsumer
Modifier and Type | Field and Description |
---|---|
private it.unimi.dsi.fastutil.doubles.DoubleList |
lower |
private boolean |
swap |
private it.unimi.dsi.fastutil.doubles.DoubleList |
upper |
Constructor and Description |
---|
NonOverlappingMerger(it.unimi.dsi.fastutil.doubles.DoubleList p_i48187_1_,
it.unimi.dsi.fastutil.doubles.DoubleList p_i48187_2_,
boolean p_i48187_3_) |
Modifier and Type | Method and Description |
---|---|
boolean |
forMergedIndexes(IDoubleListMerger.IConsumer p_197855_1_) |
private boolean |
forNonSwappedIndexes(IDoubleListMerger.IConsumer p_199637_1_) |
double |
getDouble(int p_getDouble_1_) |
it.unimi.dsi.fastutil.doubles.DoubleList |
getList() |
int |
size() |
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
add, contains, containsAll, remove, removeAll, retainAll, toArray, toDoubleArray, toDoubleArray
containsAll, isEmpty, removeAll, retainAll, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, contains, get, indexOf, lastIndexOf, remove, remove, set
containsAll, isEmpty, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
private final it.unimi.dsi.fastutil.doubles.DoubleList lower
private final it.unimi.dsi.fastutil.doubles.DoubleList upper
private final boolean swap
public NonOverlappingMerger(it.unimi.dsi.fastutil.doubles.DoubleList p_i48187_1_, it.unimi.dsi.fastutil.doubles.DoubleList p_i48187_2_, boolean p_i48187_3_)
public int size()
size
in interface java.util.Collection<java.lang.Double>
size
in interface java.util.List<java.lang.Double>
size
in class java.util.AbstractCollection<java.lang.Double>
public boolean forMergedIndexes(IDoubleListMerger.IConsumer p_197855_1_)
forMergedIndexes
in interface IDoubleListMerger
private boolean forNonSwappedIndexes(IDoubleListMerger.IConsumer p_199637_1_)
public double getDouble(int p_getDouble_1_)
getDouble
in interface it.unimi.dsi.fastutil.doubles.DoubleList
public it.unimi.dsi.fastutil.doubles.DoubleList getList()
getList
in interface IDoubleListMerger