public class SequenceSet extends LinkedNodeList<Sequence>
Modifier and Type | Class and Description |
---|---|
static class |
SequenceSet.Marshaller |
Constructor and Description |
---|
SequenceSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(long value) |
void |
add(Sequence value) |
boolean |
contains(int first,
int last) |
java.util.List<Sequence> |
getMissing(long first,
long last) |
java.util.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() |
public SequenceSet()
public boolean add(long value)
value
- the value to add to the listpublic long removeFirst()
java.util.NoSuchElementException
- if this list is empty.public Sequence removeLastSequence()
public Sequence removeFirstSequence(long count)
public java.util.List<Sequence> getMissing(long first, long last)
public java.util.List<Sequence> getReceived()
public boolean contains(int first, int last)
Copyright © 2005-2012. All Rights Reserved.