Modifier and Type | Field and Description |
---|---|
protected String |
field |
protected List<String> |
value |
Constructor and Description |
---|
FlexLine(String in_field,
ArrayList<String> in_values)
List init.
|
FlexLine(String in_field,
String in_value)
Singleton init.
|
Modifier and Type | Method and Description |
---|---|
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.
|
List<String> |
values()
Return all the values.
|
public FlexLine(String in_field, String in_value)
in_field
- in_value
- public String field()
public boolean isSingle()
public boolean isMulti()
public String value()
Copyright © 2010–2015. All rights reserved.