com.ijchart.xychart.constant
Class KeyValueComparatorType

java.lang.Object
  extended by com.ijchart.xychart.constant.KeyValueComparatorType
All Implemented Interfaces:
java.io.Serializable

public final class KeyValueComparatorType
extends java.lang.Object
implements java.io.Serializable

Title: IJChart

Description: a chart library for the Java(tm) platform.

定义KeyValuePair对象的排序类型,键或值.

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.
See Also:
Serialized Form

Field Summary
static KeyValueComparatorType BY_KEY
          根据KeyValuePair对象的键对象排序.
static KeyValueComparatorType BY_VALUE
          根据KeyValuePair对象的值对象排序.
 
Method Summary
 boolean equals(java.lang.Object obj)
          覆盖equals方法.
 int hashCode()
          计算hashcode值.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

BY_KEY

public static final KeyValueComparatorType BY_KEY
根据KeyValuePair对象的键对象排序.


BY_VALUE

public static final KeyValueComparatorType BY_VALUE
根据KeyValuePair对象的值对象排序.

Method Detail

equals

public boolean equals(java.lang.Object obj)
覆盖equals方法.

Overrides:
equals in class java.lang.Object
Parameters:
obj - Object
Returns:
boolean

toString

public java.lang.String toString()
覆盖toString()方法.

Overrides:
toString in class java.lang.Object
Returns:
String

hashCode

public int hashCode()
计算hashcode值.

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code value for this object.