org.n52.security.common.util
Interface KeyValuePairCollection

All Superinterfaces:
Iterable<KeyValuePair>
All Known Implementing Classes:
OrderedKeyValuePairCollection

public interface KeyValuePairCollection
extends Iterable<KeyValuePair>


Field Summary
static KeyValuePairCollection EMPTY_COLLECTION
           
 
Method Summary
 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)
           
 

Field Detail

EMPTY_COLLECTION

static final KeyValuePairCollection EMPTY_COLLECTION
Method Detail

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.