public class SequenceItem extends java.lang.Object implements VertexDictionary
| Constructor and Description |
|---|
SequenceItem(int index,
int uniqueSequenceIdentifier) |
SequenceItem(int index,
int uniqueSequenceIdentifier,
java.lang.String sequenceName) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Vertex<?>> |
add(T v) |
<T extends Vertex<?>> |
add(VertexLabel label,
T v) |
<T extends Vertex<?>> |
addAll(java.util.Collection<T> vertices) |
<T extends Vertex<?>> |
addAll(java.util.Map<VertexLabel,T> vertices) |
<T extends Vertex<?>> |
addAll(T... vertices) |
BooleanProxyVertex |
addBooleanProxyFor(VertexLabel label)
This method creates a
ProxyVertex and adds it to the sequence item
It also adds this vertex to the sequence item to represent the vertex with this label in the previous sequence item. |
BooleanProxyVertex |
addBooleanProxyFor(VertexLabel label,
long[] shape)
This method creates a
ProxyVertex and adds it to the sequence item
It also adds this vertex to the sequence item to represent the vertex with this label in the previous sequence item. |
DoubleProxyVertex |
addDoubleProxyFor(VertexLabel label)
This method creates a
ProxyVertex and adds it to the sequence item
It also adds this vertex to the sequence item to represent the vertex with this label in the previous sequence item. |
DoubleProxyVertex |
addDoubleProxyFor(VertexLabel label,
long[] shape)
This method creates a
ProxyVertex and adds it to the sequence item
It also adds this vertex to the sequence item to represent the vertex with this label in the previous sequence item. |
IntegerProxyVertex |
addIntegerProxyFor(VertexLabel label)
This method creates a
ProxyVertex and adds it to the sequence item
It also adds this vertex to the sequence item to represent the vertex with this label in the previous sequence item. |
IntegerProxyVertex |
addIntegerProxyFor(VertexLabel label,
long[] shape)
This method creates a
ProxyVertex and adds it to the sequence item
It also adds this vertex to the sequence item to represent the vertex with this label in the previous sequence item. |
<V extends Vertex<?>> |
get(VertexLabel label) |
java.util.Map<VertexLabel,Vertex<?>> |
getContents() |
int |
getIndex() |
java.util.Collection<Vertex<?>> |
getProxyVertices() |
SequenceItem |
withExtraEntries(java.util.Map<VertexLabel,Vertex<?>> extraEntries) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbackedBy, ofpublic SequenceItem(int index,
int uniqueSequenceIdentifier)
public SequenceItem(int index,
int uniqueSequenceIdentifier,
java.lang.String sequenceName)
public <T extends Vertex<?>> void addAll(T... vertices)
public <T extends Vertex<?>> void addAll(java.util.Collection<T> vertices)
public <T extends Vertex<?>> void addAll(java.util.Map<VertexLabel,T> vertices)
public <T extends Vertex<?>> T add(T v)
public <T extends Vertex<?>> T add(VertexLabel label, T v)
public java.util.Map<VertexLabel,Vertex<?>> getContents()
public int getIndex()
Sequencepublic <V extends Vertex<?>> V get(VertexLabel label)
get in interface VertexDictionarypublic SequenceItem withExtraEntries(java.util.Map<VertexLabel,Vertex<?>> extraEntries)
withExtraEntries in interface VertexDictionarypublic java.util.Collection<Vertex<?>> getProxyVertices()
public DoubleProxyVertex addDoubleProxyFor(VertexLabel label)
ProxyVertex and adds it to the sequence item
It also adds this vertex to the sequence item to represent the vertex with this label in the previous sequence item.label - the label of the corresponding vertex from the previous item.ProxyVertexpublic DoubleProxyVertex addDoubleProxyFor(VertexLabel label, long[] shape)
ProxyVertex and adds it to the sequence item
It also adds this vertex to the sequence item to represent the vertex with this label in the previous sequence item.label - the label of the corresponding vertex from the previous item.shape - the shape of the corresponding vertex from the previous item.ProxyVertexpublic IntegerProxyVertex addIntegerProxyFor(VertexLabel label)
ProxyVertex and adds it to the sequence item
It also adds this vertex to the sequence item to represent the vertex with this label in the previous sequence item.label - the label of the corresponding vertex from the previous item.ProxyVertexpublic IntegerProxyVertex addIntegerProxyFor(VertexLabel label, long[] shape)
ProxyVertex and adds it to the sequence item
It also adds this vertex to the sequence item to represent the vertex with this label in the previous sequence item.label - the label of the corresponding vertex from the previous item.shape - the shape of the corresponding vertex from the previous item.ProxyVertexpublic BooleanProxyVertex addBooleanProxyFor(VertexLabel label)
ProxyVertex and adds it to the sequence item
It also adds this vertex to the sequence item to represent the vertex with this label in the previous sequence item.label - the label of the corresponding vertex from the previous item.ProxyVertexpublic BooleanProxyVertex addBooleanProxyFor(VertexLabel label, long[] shape)
ProxyVertex and adds it to the sequence item
It also adds this vertex to the sequence item to represent the vertex with this label in the previous sequence item.label - the label of the corresponding vertex from the previous item.shape - the shape of the corresponding vertex from the previous item.ProxyVertex