|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.cache.option.Some<T>
T
- public class Some<T>
A cached option for a value. This is used when the factory finds a value and needs to cache it.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.confluence.cache.option.Option |
---|
Option.Builder |
Constructor Summary | |
---|---|
Some(T object)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
boolean |
exists()
|
T |
getOrElse(T otherwise)
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Some(T object)
Method Detail |
---|
public boolean exists()
exists
in interface Option<T>
public T getOrElse(T otherwise)
getOrElse
in interface Option<T>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |