|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.di.core.util.KeyValueSet
public class KeyValueSet
| Constructor Summary | |
|---|---|
KeyValueSet()
|
|
| Method Summary | |
|---|---|
KeyValueSet |
add(KeyValue<?>... keyValues)
Add key value(s). |
KeyValueSet |
clear()
Clear entries. |
boolean |
containsKey(String key)
|
List<KeyValue<?>> |
get(org.apache.commons.collections.Predicate filter)
|
KeyValue<?> |
get(String key)
|
KeyValue<?> |
getRequired(String key)
|
boolean |
isEmpty()
|
Iterator<KeyValue<?>> |
iterator()
|
List<String> |
keys()
|
List<KeyValue<?>> |
keyValues()
|
KeyValue<?> |
remove(String key)
|
int |
size()
|
Map<String,Object> |
toMap()
|
String |
toMultiLineString()
|
String |
toString()
|
List<Object> |
values()
|
void |
walk(org.apache.commons.collections.Closure handler)
Walk entries. |
void |
walk(org.apache.commons.collections.Closure handler,
org.apache.commons.collections.Predicate filter)
Walk entries. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public KeyValueSet()
| Method Detail |
|---|
public KeyValueSet add(KeyValue<?>... keyValues)
keyValues - key values to add.
public Iterator<KeyValue<?>> iterator()
iterator in interface Iterable<KeyValue<?>>Iterable.iterator()public KeyValue<?> get(String key)
key - the key.
public List<KeyValue<?>> get(org.apache.commons.collections.Predicate filter)
throws IllegalArgumentException
filter - filter to use.
IllegalArgumentException - if filter is null.public KeyValue<?> getRequired(String key)
key - the key.
public List<String> keys()
public List<KeyValue<?>> keyValues()
public List<Object> values()
public Map<String,Object> toMap()
public void walk(org.apache.commons.collections.Closure handler,
org.apache.commons.collections.Predicate filter)
throws IllegalArgumentException
handler - handler to call.filter - filter to use.
IllegalArgumentException - if closure or filter is null.
public void walk(org.apache.commons.collections.Closure handler)
throws IllegalArgumentException
handler - handler to call.
IllegalArgumentException - if handler is null.public KeyValue<?> remove(String key)
key - the key.
public boolean containsKey(String key)
key - key to test.
public int size()
public boolean isEmpty()
public KeyValueSet clear()
public String toMultiLineString()
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||