org.crsh.util
Class TimestampedObject<T>

java.lang.Object
  extended by org.crsh.util.TimestampedObject<T>

public class TimestampedObject<T>
extends Object


Field Summary
private  T object
          .
private  long timestamp
          .
 
Constructor Summary
TimestampedObject(long timestamp, T object)
           
 
Method Summary
 T getObject()
           
 long getTimestamp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timestamp

private final long timestamp
.


object

private final T object
.

Constructor Detail

TimestampedObject

public TimestampedObject(long timestamp,
                         T object)
Method Detail

getTimestamp

public long getTimestamp()

getObject

public T getObject()


Copyright © 2014 eXo Platform SAS. All Rights Reserved.