|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.mail.token.EmailTokenSet
public class EmailTokenSet
EmailTokenSet
s are used by the EmailTokenManager
to hold the EmailToken
s
associated with a specific user. They are not the concern of other parts of the system, but are
not implemented as a private inner class to facilitate serialization.
Constructor Summary | |
---|---|
EmailTokenSet()
|
Method Summary | |
---|---|
void |
add(EmailToken token)
Adds on EmailToken to the set. |
EmailToken |
getByDate(java.util.Date timestamp)
Returns the first token in the set whose timestamp matches the day of year and year in the supplied Date |
int |
getCachedSize()
|
int |
getSize()
|
java.util.Iterator |
iterator()
Returns an Iterator of all EmailToken s in the set, sorted by timestamp. |
void |
readExternal(java.io.DataInput dataInput)
|
void |
remove(EmailToken token)
Removes the supplied EmailToken from the set. |
void |
writeExternal(java.io.DataOutput dataOutput)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmailTokenSet()
Method Detail |
---|
public void add(EmailToken token)
EmailToken
to the set.
token
- the token to add.public void remove(EmailToken token)
EmailToken
from the set.
token
- the token to remove.public java.util.Iterator iterator()
Iterator
of all EmailToken
s in the set, sorted by timestamp. (Newest to Oldest).
Iterator
of all EmailToken
s in the set, sorted by timestamp. (Newest to Oldest).public EmailToken getByDate(java.util.Date timestamp)
Date
timestamp
- the Date
to test for day of year and year.
Date
public int getSize()
public int getCachedSize()
public void readExternal(java.io.DataInput dataInput) throws java.io.IOException
readExternal
in interface com.tangosol.io.ExternalizableLite
java.io.IOException
public void writeExternal(java.io.DataOutput dataOutput) throws java.io.IOException
writeExternal
in interface com.tangosol.io.ExternalizableLite
java.io.IOException
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |