org.n52.security.common.util
Class OrderedKeyValuePairCollection
java.lang.Object
org.n52.security.common.util.OrderedKeyValuePairCollection
- All Implemented Interfaces:
- Iterable<KeyValuePair>, KeyValuePairCollection
public class OrderedKeyValuePairCollection
- extends Object
- implements KeyValuePairCollection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrderedKeyValuePairCollection
public OrderedKeyValuePairCollection()
iterator
public Iterator<KeyValuePair> iterator()
- Specified by:
iterator
in interface Iterable<KeyValuePair>
- Specified by:
iterator
in interface KeyValuePairCollection
keys
public Collection<String> keys()
- Specified by:
keys
in interface KeyValuePairCollection
values
public Collection<String> values(KeyMatcher key)
- Specified by:
values
in interface KeyValuePairCollection
add
public void add(KeyValuePair pair)
- Specified by:
add
in interface KeyValuePairCollection
addAll
public void addAll(Collection<KeyValuePair> pairs)
- Specified by:
addAll
in interface KeyValuePairCollection
getUnique
public KeyValuePair getUnique(KeyMatcher keyMatcher)
throws NonUniqueException
- Specified by:
getUnique
in interface KeyValuePairCollection
- Throws:
NonUniqueException
containsKey
public boolean containsKey(KeyMatcher key)
- Specified by:
containsKey
in interface KeyValuePairCollection
getAll
public KeyValuePairCollection getAll(KeyMatcher keyMatcher)
- Specified by:
getAll
in interface KeyValuePairCollection
updateUnique
public void updateUnique(KeyMatcher keyMatcher,
KeyValuePair pair)
- Specified by:
updateUnique
in interface KeyValuePairCollection
contains
public boolean contains(KeyValuePair pair)
- Specified by:
contains
in interface KeyValuePairCollection
delete
public int delete(KeyMatcher keyMatcher)
- Specified by:
delete
in interface KeyValuePairCollection
size
public int size()
- Specified by:
size
in interface KeyValuePairCollection
Copyright © 2004–2013 52north.org. All rights reserved.