Package org.apache.felix.utils.filter
Class FilterImpl.ServiceReferenceDictionary
- java.lang.Object
-
- java.util.Dictionary
-
- org.apache.felix.utils.filter.FilterImpl.ServiceReferenceDictionary
-
- Enclosing class:
- FilterImpl
private static class FilterImpl.ServiceReferenceDictionary extends java.util.DictionaryThis Dictionary is used for key lookup from a ServiceReference during filter evaluation. This Dictionary implementation only supports the get operation using a String key as no other operations are used by the Filter implementation.
-
-
Field Summary
Fields Modifier and Type Field Description private org.osgi.framework.ServiceReferencereference
-
Constructor Summary
Constructors Constructor Description ServiceReferenceDictionary(org.osgi.framework.ServiceReference reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Enumerationelements()java.lang.Objectget(java.lang.Object key)booleanisEmpty()java.util.Enumerationkeys()java.lang.Objectput(java.lang.Object key, java.lang.Object value)java.lang.Objectremove(java.lang.Object key)intsize()
-
-
-
Method Detail
-
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
getin classjava.util.Dictionary
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin classjava.util.Dictionary
-
keys
public java.util.Enumeration keys()
- Specified by:
keysin classjava.util.Dictionary
-
elements
public java.util.Enumeration elements()
- Specified by:
elementsin classjava.util.Dictionary
-
put
public java.lang.Object put(java.lang.Object key, java.lang.Object value)- Specified by:
putin classjava.util.Dictionary
-
remove
public java.lang.Object remove(java.lang.Object key)
- Specified by:
removein classjava.util.Dictionary
-
size
public int size()
- Specified by:
sizein classjava.util.Dictionary
-
-