|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectowltools.flex.FlexLine
public class FlexLine
Workalike for a singleton line in a Solr document.
| Field Summary | |
|---|---|
protected String |
field
|
protected ArrayList<String> |
value
|
| Constructor Summary | |
|---|---|
FlexLine(String in_field,
ArrayList<String> in_values)
List init. |
|
FlexLine(String in_field,
String in_value)
Singleton init. |
|
| Method Summary | |
|---|---|
String |
field()
Return the field name. |
boolean |
isMulti()
Return whether or not the line has a single value or multiple values. |
boolean |
isSingle()
Return whether or not the line has a single value or multiple values. |
Iterator<String> |
iterator()
|
String |
value()
Return the first/only value. |
ArrayList<String> |
values()
Return all the values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String field
protected ArrayList<String> value
| Constructor Detail |
|---|
public FlexLine(String in_field,
String in_value)
field - value -
public FlexLine(String in_field,
ArrayList<String> in_values)
field - value - | Method Detail |
|---|
public String field()
public ArrayList<String> values()
public boolean isSingle()
public boolean isMulti()
public String value()
public Iterator<String> iterator()
iterator in interface Iterable<String>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||