com.glaivestone.javax.util
Interface Association

All Known Implementing Classes:
BasicAssociation

public interface Association

This interface represents a key-value pair. Inspired by the Smalltalk class of the same name.

Version:
1.0
Author:
Gary Gregory

Method Summary
 java.lang.Object getKey()
          Return the key.
 java.lang.Object getValue()
          Return the value.
 void setKey(java.lang.Object key)
          Set the key.
 void setValue(java.lang.Object value)
          Set the value.
 

Method Detail

getKey

public java.lang.Object getKey()
Return the key.


getValue

public java.lang.Object getValue()
Return the value.


setKey

public void setKey(java.lang.Object key)
Set the key.


setValue

public void setValue(java.lang.Object value)
Set the value.


GFL 1.1 API