org.pfsw.bif.facet
Interface IReadOnlyNamedValues<TValue>

All Known Subinterfaces:
IConfigSettings

public interface IReadOnlyNamedValues<TValue>

Generic read only access to any name/value pair based containers where the names are strings and the values can be any type.


Method Summary
 java.util.Collection<java.lang.String> getNames()
          Returns all names (maybe empty but never null).
 TValue getValue(java.lang.String name)
          Returns the value associated with the given name.
 boolean isEmpty()
          Returns true if the receiver does not contain any data.
 

Method Detail

isEmpty

boolean isEmpty()
Returns true if the receiver does not contain any data.


getNames

java.util.Collection<java.lang.String> getNames()
Returns all names (maybe empty but never null).


getValue

TValue getValue(java.lang.String name)
Returns the value associated with the given name.

Parameters:
name - The identifier for which the associated value must be returned (must not be null).
Returns:
The values associated with the name or null if the name is unknown.