org.hippoecm.hst.util
Interface KeyValue<K,V>

All Known Implementing Classes:
DefaultKeyValue, HstCtxWhereClauseComputerImpl.Mapper

public interface KeyValue<K,V>

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.

Version:
$Id: KeyValue.java 18160 2009-05-19 11:23:16Z wko $

Method Summary
 K getKey()
          Returns the key corresponding to the pair.
 V getValue()
          Returns the value corresponding to the pair.
 

Method Detail

getKey

K getKey()
Returns the key corresponding to the pair.

Returns:
the key corresponding to the pair

getValue

V getValue()
Returns the value corresponding to the pair.

Returns:
the value corresponding to the pair


Copyright © 2008-2012 Hippo. All Rights Reserved.