org.jfree.data

Interface KeyedValue

public interface KeyedValue extends Value

A (key, value) pair.

See Also: DefaultKeyedValue

Method Summary
ComparablegetKey()
Returns the key associated with the value.

Method Detail

getKey

public Comparable getKey()
Returns the key associated with the value. The key returned by this method should be immutable.

Returns: The key (never null).

Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.