cytoscape.data.annotation
Class FlattenIntVectors
java.lang.Object
cytoscape.data.annotation.FlattenIntVectors
public class FlattenIntVectors
- extends Object
given a vector which nests other vectors, each resolving
eventually to a list of Integers, flatten it out into a simple 1-level-deep
vector of Integer vectors.
for example:
((1 2 3 (4 5 (6))), (7 (8) (9 10 11 (12))))
becomes
((1 2 3 4 5 6), (7 8 9 10 11 12))
FlattenIntVectors
public FlattenIntVectors(Vector v)
- Creates a new FlattenIntVectors object.
- Parameters:
v
- DOCUMENT ME!
getResult
public Vector getResult()
- DOCUMENT ME!
- Returns:
- DOCUMENT ME!