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 boolean
equals(Object x)
Object
getKeyProperty()
Symbol
getKeySymbol()
int
hashCode()
boolean
matches(EnvironmentKey key)
boolean
matches(Symbol symbol, Object property)
String
toString()
-
-
-
Method Detail
-
getKeySymbol
public Symbol getKeySymbol()
- Specified by:
getKeySymbol
in interfaceEnvironmentKey
-
getKeyProperty
public Object getKeyProperty()
- Specified by:
getKeyProperty
in interfaceEnvironmentKey
-
matches
public final boolean matches(EnvironmentKey key)
- Specified by:
matches
in interfaceEnvironmentKey
-
matches
public final boolean matches(Symbol symbol, Object property)
- Specified by:
matches
in interfaceEnvironmentKey
-
-