public static class AbstractBitVector.LongSetView extends it.unimi.dsi.fastutil.longs.AbstractLongSortedSet implements it.unimi.dsi.fastutil.longs.LongSet, Serializable
This class implements in the obvious way an integer set view of a bit vector. The vector is enlarged as needed (i.e., when a one beyond the current size is set), but it is never shrunk.
Constructor and Description |
---|
AbstractBitVector.LongSetView(BitVector bitVector,
long from,
long to) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(long index) |
void |
clear() |
it.unimi.dsi.fastutil.longs.LongComparator |
comparator() |
boolean |
contains(long index) |
long |
firstLong() |
it.unimi.dsi.fastutil.longs.LongSortedSet |
headSet(long to) |
it.unimi.dsi.fastutil.longs.LongBidirectionalIterator |
iterator() |
it.unimi.dsi.fastutil.longs.LongBidirectionalIterator |
iterator(long from) |
long |
lastLong() |
boolean |
remove(long index) |
int |
size() |
it.unimi.dsi.fastutil.longs.LongSortedSet |
subSet(long from,
long to) |
it.unimi.dsi.fastutil.longs.LongSortedSet |
tailSet(long from) |
first, headSet, last, longIterator, subSet, tailSet
equals, hashCode, rem, remove
add, addAll, addAll, contains, containsAll, containsAll, isEmpty, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toLongArray, toLongArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected final BitVector bitVector
public AbstractBitVector.LongSetView(BitVector bitVector, long from, long to)
public boolean contains(long index)
contains
in interface it.unimi.dsi.fastutil.longs.LongCollection
contains
in class it.unimi.dsi.fastutil.longs.AbstractLongCollection
public boolean add(long index)
add
in interface it.unimi.dsi.fastutil.longs.LongCollection
add
in class it.unimi.dsi.fastutil.longs.AbstractLongCollection
public boolean remove(long index)
remove
in interface it.unimi.dsi.fastutil.longs.LongSet
remove
in class it.unimi.dsi.fastutil.longs.AbstractLongSet
public void clear()
clear
in interface Collection<Long>
clear
in interface Set<Long>
clear
in class AbstractCollection<Long>
public int size()
size
in interface Collection<Long>
size
in interface Set<Long>
size
in class AbstractCollection<Long>
public it.unimi.dsi.fastutil.longs.LongBidirectionalIterator iterator()
iterator
in interface it.unimi.dsi.fastutil.longs.LongCollection
iterator
in interface it.unimi.dsi.fastutil.longs.LongIterable
iterator
in interface it.unimi.dsi.fastutil.longs.LongSet
iterator
in interface it.unimi.dsi.fastutil.longs.LongSortedSet
iterator
in interface Iterable<Long>
iterator
in interface Collection<Long>
iterator
in interface Set<Long>
iterator
in class it.unimi.dsi.fastutil.longs.AbstractLongSortedSet
public it.unimi.dsi.fastutil.longs.LongBidirectionalIterator iterator(long from)
iterator
in interface it.unimi.dsi.fastutil.longs.LongSortedSet
public long firstLong()
firstLong
in interface it.unimi.dsi.fastutil.longs.LongSortedSet
public long lastLong()
lastLong
in interface it.unimi.dsi.fastutil.longs.LongSortedSet
public it.unimi.dsi.fastutil.longs.LongComparator comparator()
comparator
in interface it.unimi.dsi.fastutil.longs.LongSortedSet
comparator
in interface SortedSet<Long>
public it.unimi.dsi.fastutil.longs.LongSortedSet headSet(long to)
headSet
in interface it.unimi.dsi.fastutil.longs.LongSortedSet
public it.unimi.dsi.fastutil.longs.LongSortedSet tailSet(long from)
tailSet
in interface it.unimi.dsi.fastutil.longs.LongSortedSet
public it.unimi.dsi.fastutil.longs.LongSortedSet subSet(long from, long to)
subSet
in interface it.unimi.dsi.fastutil.longs.LongSortedSet
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.