org.n52.security.common.util
Interface KeyValuePairCollection
- All Superinterfaces:
- Iterable<KeyValuePair>
- All Known Implementing Classes:
- OrderedKeyValuePairCollection
public interface KeyValuePairCollection
- extends Iterable<KeyValuePair>
EMPTY_COLLECTION
static final KeyValuePairCollection EMPTY_COLLECTION
iterator
Iterator<KeyValuePair> iterator()
- Specified by:
iterator
in interface Iterable<KeyValuePair>
keys
Collection<String> keys()
values
Collection<String> values(KeyMatcher key)
getAll
KeyValuePairCollection getAll(KeyMatcher key)
getUnique
KeyValuePair getUnique(KeyMatcher key)
throws NonUniqueException
- Throws:
NonUniqueException
containsKey
boolean containsKey(KeyMatcher key)
add
void add(KeyValuePair pair)
addAll
void addAll(Collection<KeyValuePair> pairs)
updateUnique
void updateUnique(KeyMatcher key,
KeyValuePair pair)
size
int size()
contains
boolean contains(KeyValuePair pair)
delete
int delete(KeyMatcher key)
Copyright © 2004–2013 52north.org. All rights reserved.