T - The type of object to hold.public class ObjectHolder<T>
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ObjectHolder(T theObj,
double probability) |
| Modifier and Type | Method and Description |
|---|---|
T |
getObj() |
double |
getProbability() |