com.espertech.esper.collection.apachecommons
Interface KeyValue

All Known Implementing Classes:
AbstractHashedMap.HashEntry, AbstractKeyValue, AbstractMapEntry, AbstractReferenceMap.ReferenceEntry, DefaultMapEntry

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$ $Date$
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

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

Returns:
the key

getValue

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

Returns:
the value

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com