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, wait
backedBy, of
public 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()
Sequence
public <V extends Vertex<?>> V get(VertexLabel label)
get
in interface VertexDictionary
public SequenceItem withExtraEntries(java.util.Map<VertexLabel,Vertex<?>> extraEntries)
withExtraEntries
in interface VertexDictionary
public 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.ProxyVertex
public 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.ProxyVertex
public 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.ProxyVertex
public 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.ProxyVertex
public 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.ProxyVertex
public 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