unot
クラス Occurrence

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

public class Occurrence
extends java.lang.Object

Occurrence.java データにおけるパターンの出現を表現するクラス. UnotPattern 中の各 DLpair が Occurrence 中の各 element に対応する. Created: Mon Dec 29 03:51:13 2003


フィールドの概要
private  java.lang.Object element
           
private  unot.Occurrence first
           
private  unot.Occurrence next
           
private  unot.Occurrence prev
           
private  int size
           
 
コンストラクタの概要
Occurrence()
          Creates a new Occurrence instance.
Occurrence(unot.Occurrence occ)
          Creates a new Occurrence instance.
Occurrence(unot.Occurrence occ, unot.UnotNode child)
          Describe join method here.
 
メソッドの概要
 boolean add(java.lang.Object o)
          Describe add method here.
 boolean contains(java.lang.Object o)
          Describe contains method here.
 java.lang.Object get(int index)
          Describe get method here.
 int size()
          Returns the number of elements in this list.
 java.lang.String toString()
          Retrieve a tree like String representation of the object.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

size

private int size

prev

private unot.Occurrence prev

first

private unot.Occurrence first

element

private java.lang.Object element

next

private transient unot.Occurrence next
コンストラクタの詳細

Occurrence

public Occurrence()
Creates a new Occurrence instance.


Occurrence

public Occurrence(unot.Occurrence occ)
Creates a new Occurrence instance.

パラメータ:
occ - an Occurrence value

Occurrence

public Occurrence(unot.Occurrence occ,
                  unot.UnotNode child)
Describe join method here.

パラメータ:
occ - an Occurrence value
child - a NodeAdapter value
メソッドの詳細

add

public boolean add(java.lang.Object o)
Describe add method here.

パラメータ:
o - an Object value
戻り値:
a boolean value

contains

public boolean contains(java.lang.Object o)
Describe contains method here.

パラメータ:
o - an Object value
戻り値:
a boolean value

get

public java.lang.Object get(int index)
Describe get method here.

パラメータ:
index - an int value
戻り値:
an Object value

size

public int size()
Returns the number of elements in this list.

戻り値:
an int value

toString

public java.lang.String toString()
Retrieve a tree like String representation of the object.

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