|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.illinois.ncsa.versus.descriptor.impl.VectorFeature<E>
public class VectorFeature<E>
A feature represented by a vector of objects E.
Field Summary | |
---|---|
private java.util.List<E> |
list
|
Constructor Summary | |
---|---|
VectorFeature()
|
Method Summary | |
---|---|
void |
add(int index,
E element)
Add an element to the vector at a particular position. |
E |
get(int i)
Get an element at a specific index. |
java.lang.String |
getName()
Get the pretty name of this feature. |
java.lang.String |
getType()
Get the unique type of this feature. |
int |
size()
The size of the vector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.util.List<E> list
Constructor Detail |
---|
public VectorFeature()
Method Detail |
---|
public void add(int index, E element)
index
- element
- public java.lang.String getType()
Descriptor
getType
in interface Descriptor
public int size()
public E get(int i)
i
- index
public java.lang.String getName()
Descriptor
getName
in interface Descriptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |