| Constructor and Description |
|---|
IndexField(String n)
Instantiates a new index field.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(Object v)
Add values to a field.
|
IndexField |
deepCopy() |
Object |
getFirstValue()
Gets the first value.
|
String |
getName()
Gets the name.
|
Object |
getValue()
Gets the value.
|
int |
getValueCount()
Gets the value count.
|
Collection<Object> |
getValues()
Gets the values.
|
Iterator<Object> |
iterator() |
void |
setName(String name)
Sets the name.
|
void |
setValue(Object v)
Set the value for a field.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic IndexField(String n)
n - the npublic void setValue(Object v)
v - the vb - the bpublic void addValue(Object v)
v - the vb - the bpublic Object getFirstValue()
public Object getValue()
public Collection<Object> getValues()
public int getValueCount()
public String getName()
public void setName(String name)
name - the new namepublic Iterator<Object> iterator()
iterator in interface Iterable<Object>Iterable.iterator()public String toString()
toString in class ObjectObject.toString()public IndexField deepCopy()
Copyright © 2017. All rights reserved.