public class

Some

extends Object
implements Option<T>
java.lang.Object
   ↳ com.atlassian.confluence.cache.option.Some<T>

Class Overview

A cached option for a value. This is used when the factory finds a value and needs to cache it.

Summary

Public Constructors
Some(T object)
Public Methods
boolean equals(Object o)
boolean exists()
T getOrElse(T otherwise)
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.cache.option.Option

Public Constructors

public Some (T object)

Public Methods

public boolean equals (Object o)

public boolean exists ()

public T getOrElse (T otherwise)

public int hashCode ()