T
- The class of the object contained in the representation.public class Representation<T>
extends java.lang.Object
Constructor and Description |
---|
Representation(T data)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object otherObject) |
T |
getData()
Getter method for the wrapped data.
|
public Representation(T data)
data
- The rendering object which this representation will contain.public T getData()
public boolean equals(java.lang.Object otherObject)
equals
in class java.lang.Object