Package com.sk89q.worldedit.util
Class Countable<T>
java.lang.Object
com.sk89q.worldedit.util.Countable<T>
- All Implemented Interfaces:
Comparable<Countable<T>>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Countable
Construct the object.- Parameters:
id
- the IDamount
- the count of
-
-
Method Details
-
getID
-
setID
-
getAmount
public int getAmount() -
setAmount
public void setAmount(int amount) -
decrement
public void decrement()Decrement the amount. -
increment
public void increment()Increment the amount. -
compareTo
- Specified by:
compareTo
in interfaceComparable<T>
-