public class SequenceSet extends LinkedNodeList<Sequence>
| Modifier and Type | Field and Description |
|---|---|
static org.fusesource.hawtbuf.codec.Codec |
CODEC |
head, size| Constructor and Description |
|---|
SequenceSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(long value) |
void |
add(Sequence value) |
boolean |
contains(int first,
int last) |
List<Sequence> |
getMissing(long first,
long last) |
List<Sequence> |
getReceived() |
long |
removeFirst()
Removes and returns the first element from this list.
|
Sequence |
removeFirstSequence(long count)
Removes and returns the first sequence that is count range large.
|
Sequence |
removeLastSequence() |
addFirst, addFirst, addLast, addLast, clear, getHead, getTail, isEmpty, iterator, reparent, rotate, rotateTo, size, toArray, toArrayList, toArrayListReversed, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic void add(Sequence value)
public boolean add(long value)
value - the value to add to the listpublic long removeFirst()
NoSuchElementException - if this list is empty.public Sequence removeLastSequence()
public Sequence removeFirstSequence(long count)
public List<Sequence> getMissing(long first, long last)
public boolean contains(int first,
int last)
Copyright © 2009–2021 FuseSource, Corp.. All rights reserved.