|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nz.ac.waikato.mcennis.rat.graph.algorithm.reusablecores.datavector.ListSetDataVector
public class ListSetDataVector
Create a pair of data vectors backed by a list and set combination. Note that some functions will be very slow as random access to lists are linear operations.
Nested Class Summary | |
---|---|
class |
ListSetDataVector.LeftVector
data vector backed by a list |
class |
ListSetDataVector.RightVector
Data vector backed by a Set |
Constructor Summary | |
---|---|
ListSetDataVector(java.util.List<? extends java.lang.Object> left,
java.util.Set<? extends java.lang.Object> right,
int size)
Creates two new data vectors from a list and a set. |
Method Summary | |
---|---|
DataVector |
left()
Get the left side of this data vector pair |
DataVector |
right()
Get the right side of this data vector pair |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListSetDataVector(java.util.List<? extends java.lang.Object> left, java.util.Set<? extends java.lang.Object> right, int size)
left
- right
- Method Detail |
---|
public DataVector left()
public DataVector right()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |