com.atlassian.confluence.cache.option
Class Option.Builder
java.lang.Object
com.atlassian.confluence.cache.option.Option.Builder
- Enclosing interface:
- Option<T>
public static class Option.Builder
- extends Object
Builds an appropriate instance of Option.
Method Summary |
static
|
build(T value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Option.Builder
public Option.Builder()
build
public static <T> Option<T> build(T value)
- Returns:
None
for a null value, or a new Some
instance containing the value.
Copyright © 2003-2012 Atlassian. All Rights Reserved.