com.ijchart.xychart.constant
Class UnitType

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

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

Title: IJChart

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

用来表示单位是绝对数量还是相对数量.

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 UnitType ABSOLUTE
          绝对值.
static UnitType RELATIVE
          相对值(百分比).
 
Method Summary
 boolean equals(java.lang.Object obj)
          覆盖equals方法.
 int hashCode()
          返回hascode值.
 java.lang.String toString()
          覆盖toString方法.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ABSOLUTE

public static final UnitType ABSOLUTE
绝对值.


RELATIVE

public static final UnitType RELATIVE
相对值(百分比).

Method Detail

toString

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

Overrides:
toString in class java.lang.Object
Returns:
The string.

equals

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

Overrides:
equals in class java.lang.Object
Parameters:
obj - the other object.
Returns:
A boolean.

hashCode

public int hashCode()
返回hascode值.

Overrides:
hashCode in class java.lang.Object
Returns:
hashcode