org.apache.directory.shared.ldap.util
Interface KeyValue


public interface KeyValue

Defines a simple key value pair.

A Map Entry has considerable additional semantics over and above a simple key-value pair. This interface defines the minimum key value, with just the two get methods.

Since:
Commons Collections 3.0
Version:
$Revision: 379008 $ $Date: 2006-02-20 04:35:07 +0100 (Mon, 20 Feb 2006) $
Author:
Stephen Colebourne

Method Summary
 java.lang.Object getKey()
          Gets the key from the pair.
 java.lang.Object getValue()
          Gets the value from the pair.
 

Method Detail

getKey

public java.lang.Object getKey()
Gets the key from the pair.

Returns:
the key

getValue

public java.lang.Object getValue()
Gets the value from the pair.

Returns:
the value


Copyright © 2003-2006 . All Rights Reserved.