public interface KeyValuePairCollection extends Iterable<KeyValuePair>
Modifier and Type | Field and Description |
---|---|
static KeyValuePairCollection |
EMPTY_COLLECTION |
Modifier and Type | Method and Description |
---|---|
void |
add(KeyValuePair pair) |
void |
addAll(Collection<KeyValuePair> pairs) |
boolean |
contains(KeyValuePair pair) |
boolean |
containsKey(KeyMatcher key) |
int |
delete(KeyMatcher key) |
KeyValuePairCollection |
getAll(KeyMatcher key) |
KeyValuePair |
getUnique(KeyMatcher key) |
Iterator<KeyValuePair> |
iterator() |
Collection<String> |
keys() |
int |
size() |
void |
updateUnique(KeyMatcher key,
KeyValuePair pair) |
Collection<String> |
values(KeyMatcher key) |
forEach, spliterator
static final KeyValuePairCollection EMPTY_COLLECTION
Iterator<KeyValuePair> iterator()
iterator
in interface Iterable<KeyValuePair>
Collection<String> keys()
Collection<String> values(KeyMatcher key)
KeyValuePairCollection getAll(KeyMatcher key)
KeyValuePair getUnique(KeyMatcher key) throws NonUniqueException
NonUniqueException
boolean containsKey(KeyMatcher key)
void add(KeyValuePair pair)
void addAll(Collection<KeyValuePair> pairs)
void updateUnique(KeyMatcher key, KeyValuePair pair)
int size()
boolean contains(KeyValuePair pair)
int delete(KeyMatcher key)
Copyright © 2004–2018 52north.org. All rights reserved.