unot
クラス DLpair

java.lang.Object
  |
  +--unot.DLpair

public final class DLpair
extends java.lang.Object

DLpair.java Created: Thu Aug 7 21:31:44 2003


フィールドの概要
private  int depth
           
private  int label
           
 
コンストラクタの概要
DLpair()
          Creates a new DLpair instance.
DLpair(int depth, int label)
          Creates a new DLpair instance.
 
メソッドの概要
 boolean equals(java.lang.Object obj)
          Compares this object to the specified object.
 int getDepth()
          Gets the value of depth.
 int getLabel()
          Gets the value of label.
 java.lang.String toString()
          Returns the (depth, label) expression of this object.
 
クラス java.lang.Object から継承したメソッド
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

depth

private int depth

label

private int label
コンストラクタの詳細

DLpair

public DLpair()
Creates a new DLpair instance.


DLpair

public DLpair(int depth,
              int label)
Creates a new DLpair instance.

パラメータ:
depth - an int value
label - an int value
メソッドの詳細

getDepth

public final int getDepth()
Gets the value of depth.

戻り値:
the value of depth

getLabel

public final int getLabel()
Gets the value of label.

戻り値:
the value of label

toString

public java.lang.String toString()
Returns the (depth, label) expression of this object.

オーバーライド:
クラス java.lang.Object 内の toString
戻り値:
a String value

equals

public boolean equals(java.lang.Object obj)
Compares this object to the specified object. The result is true if the argument is not null and is a DLpair object that represents the same (depth, label) pair as this object.

オーバーライド:
クラス java.lang.Object 内の equals
パラメータ:
obj - an Object value
戻り値:
a boolean value