org.eclipse.net4j.util.collection
Class HistoryElement<T>
java.lang.Object
org.eclipse.net4j.util.collection.HistoryElement<T>
- All Implemented Interfaces:
- IHistoryElement<T>
public class HistoryElement<T>
- extends java.lang.Object
- implements IHistoryElement<T>
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
HistoryElement
public HistoryElement(IHistory<IHistoryElement<T>> history,
T data)
getHistory
public IHistory<IHistoryElement<T>> getHistory()
- Specified by:
getHistory
in interface IHistoryElement<T>
getData
public T getData()
- Specified by:
getData
in interface IHistoryElement<T>
getText
public java.lang.String getText()
- Specified by:
getText
in interface IHistoryElement<T>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object