public class DisjointPairList extends it.unimi.dsi.fastutil.doubles.AbstractDoubleList implements PairList
it.unimi.dsi.fastutil.doubles.AbstractDoubleList.DoubleSubListPairList.Consumer| Modifier and Type | Field and Description |
|---|---|
private it.unimi.dsi.fastutil.doubles.DoubleList |
first |
private boolean |
inverted |
private it.unimi.dsi.fastutil.doubles.DoubleList |
second |
| Constructor and Description |
|---|
DisjointPairList(it.unimi.dsi.fastutil.doubles.DoubleList first,
it.unimi.dsi.fastutil.doubles.DoubleList second,
boolean inverted) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
forEachPair(PairList.Consumer predicate) |
double |
getDouble(int position) |
it.unimi.dsi.fastutil.doubles.DoubleList |
getPairs() |
private boolean |
iterateSections(PairList.Consumer consumer) |
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, toStringadd, contains, containsAll, remove, removeAll, retainAll, toArray, toDoubleArray, toDoubleArraycontainsAll, isEmpty, removeAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, add, contains, get, indexOf, lastIndexOf, remove, remove, setcontainsAll, isEmpty, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArraycontainsAll, removeAll, removeIf, removeIf, retainAll, toArray, toDoubleArray, toDoubleArrayparallelStream, streamprivate final it.unimi.dsi.fastutil.doubles.DoubleList first
private final it.unimi.dsi.fastutil.doubles.DoubleList second
private final boolean inverted
public DisjointPairList(it.unimi.dsi.fastutil.doubles.DoubleList first,
it.unimi.dsi.fastutil.doubles.DoubleList second,
boolean inverted)
public int size()
size in interface Collection<Double>size in interface List<Double>size in class AbstractCollection<Double>public boolean forEachPair(PairList.Consumer predicate)
forEachPair in interface PairListprivate boolean iterateSections(PairList.Consumer consumer)
public double getDouble(int position)
getDouble in interface it.unimi.dsi.fastutil.doubles.DoubleList