All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class kl1.lang.WTC

java.lang.Object
   |
   +----kl1.lang.WTC

public class WTC
extends Object
This class represents a WTC (Weighted Throw Count).

Author:
Satoshi KURAMOCHI

Variable Index

 o ANSWER_WTC_UNIT
 o MIN_WTC
 o NODE_WTC_LIMIT
 o READ_WTC_UNIT
 o RETURN_WTC_UNIT
 o SUPPLY_WTC_UNIT
 o THROW_WTC_UNIT
 o UNIFY_WTC_UNIT

Constructor Index

 o WTC(int)
Constructs a WTC.

Method Index

 o add(int)
 o get(int)
 o getAll()
 o isZero()
 o toString()

Variables

 o SUPPLY_WTC_UNIT
 static final int SUPPLY_WTC_UNIT
 o THROW_WTC_UNIT
 static final int THROW_WTC_UNIT
 o UNIFY_WTC_UNIT
 static final int UNIFY_WTC_UNIT
 o NODE_WTC_LIMIT
 static final int NODE_WTC_LIMIT
 o RETURN_WTC_UNIT
 static final int RETURN_WTC_UNIT
 o MIN_WTC
 static final int MIN_WTC
 o READ_WTC_UNIT
 static final int READ_WTC_UNIT
 o ANSWER_WTC_UNIT
 static final int ANSWER_WTC_UNIT

Constructors

 o WTC
 public WTC(int value)
Constructs a WTC.

Parameters:
value - a value.

Methods

 o isZero
 public synchronized boolean isZero()
 o get
 public synchronized int get(int amount)
 o getAll
 public synchronized int getAll()
 o add
 public synchronized int add(int amount)
 o toString
 public synchronized String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index