|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.thymeleaf.util.IdentityCounter<T>
T
- The type of the objects being countedpublic final class IdentityCounter<T>
Purpose-specific set that can tell whether an object (by reference) has already been added to it.
Objects of this class are not thread-safe.
Constructor Summary | |
---|---|
IdentityCounter(int expectedMaxSize)
|
Method Summary | |
---|---|
void |
count(T object)
|
boolean |
isAlreadyCounted(T object)
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdentityCounter(int expectedMaxSize)
Method Detail |
---|
public void count(T object)
public boolean isAlreadyCounted(T object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |