Class TableEntry<T>
- java.lang.Object
 - 
- org.spongepowered.api.util.weighted.TableEntry<T>
 
 
- 
- Type Parameters:
 T- The entry type
- Direct Known Subclasses:
 EmptyObject,NestedTableEntry,WeightedObject
public abstract class TableEntry<T> extends java.lang.ObjectAn abstract entry which may be contained in any table. 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedTableEntry(double weight)Creates a newTableEntrywith the desiredweight. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleweight()Gets the weight of this entry. 
 - 
 
- 
- 
Constructor Detail
- 
TableEntry
protected TableEntry(double weight)
Creates a newTableEntrywith the desiredweight.- Parameters:
 weight- The weight to associate with this entry
 
 - 
 
 -