Package gnu.mapping
Class KeyPair
- java.lang.Object
-
- gnu.mapping.KeyPair
-
- All Implemented Interfaces:
EnvironmentKey
public class KeyPair extends Object implements EnvironmentKey
A simple concrete implemementation ofEnvironmentKey.
-
-
Field Summary
-
Fields inherited from interface gnu.mapping.EnvironmentKey
FUNCTION
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object x)ObjectgetKeyProperty()SymbolgetKeySymbol()inthashCode()booleanmatches(EnvironmentKey key)booleanmatches(Symbol symbol, Object property)StringtoString()
-
-
-
Method Detail
-
getKeySymbol
public Symbol getKeySymbol()
- Specified by:
getKeySymbolin interfaceEnvironmentKey
-
getKeyProperty
public Object getKeyProperty()
- Specified by:
getKeyPropertyin interfaceEnvironmentKey
-
matches
public final boolean matches(EnvironmentKey key)
- Specified by:
matchesin interfaceEnvironmentKey
-
matches
public final boolean matches(Symbol symbol, Object property)
- Specified by:
matchesin interfaceEnvironmentKey
-
-