public final class

KeyedValueComparatorType

extends Object
java.lang.Object
   ↳ org.jfree.data.KeyedValueComparatorType

Class Overview

Used to indicate the type of a KeyedValueComparator : 'by key' or 'by value'.

Summary

Fields
public static final KeyedValueComparatorType BY_KEY An object representing 'by key' sorting.
public static final KeyedValueComparatorType BY_VALUE An object representing 'by value' sorting.
Public Methods
boolean equals(Object o)
Returns true if this object is equal to the specified object, and false otherwise.
int hashCode()
Returns a hash code.
String toString()
Returns a string representing the object.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final KeyedValueComparatorType BY_KEY

An object representing 'by key' sorting.

public static final KeyedValueComparatorType BY_VALUE

An object representing 'by value' sorting.

Public Methods

public boolean equals (Object o)

Returns true if this object is equal to the specified object, and false otherwise.

Parameters
o the other object.
Returns
  • A boolean.

public int hashCode ()

Returns a hash code.

Returns
  • A hash code.

public String toString ()

Returns a string representing the object.

Returns
  • The string.