org.eclipse.net4j.util.collection
Class HistoryElement<T>

java.lang.Object
  extended by org.eclipse.net4j.util.collection.HistoryElement<T>
All Implemented Interfaces:
IHistoryElement<T>

public class HistoryElement<T>
extends Object
implements IHistoryElement<T>


Constructor Summary
HistoryElement(IHistory<IHistoryElement<T>> history, T data)
           
 
Method Summary
 boolean equals(Object obj)
           
 T getData()
           
 IHistory<IHistoryElement<T>> getHistory()
           
 String getText()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HistoryElement

public HistoryElement(IHistory<IHistoryElement<T>> history,
                      T data)
Method Detail

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 String getText()
Specified by:
getText in interface IHistoryElement<T>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.