net.sf.sail.core.entity
Interface ISockEntry<T>

All Known Implementing Classes:
MemorySock.MemorySockEntry

public interface ISockEntry<T>

The entries in a sock have dates in addition to the actual object of the entry. This class represents the combination of those too. Instances of this class can be retreived from the ISock interface through the entryPeek and entryIterator methods.

Author:
scott

Method Summary
 java.util.Date getDate()
          The Date when this entry was added to the Sock
 T getValue()
          The value of the this sock entry.
 

Method Detail

getDate

java.util.Date getDate()
The Date when this entry was added to the Sock

Returns:

getValue

T getValue()
The value of the this sock entry. The object should be equal to the value return from ISock.peek or ISock.iterator

Returns:


Copyright © 2004-2008 TELS Center. All Rights Reserved.