Package org.apache.thrift
Class Option.None<T>
- java.lang.Object
-
- org.apache.thrift.Option<T>
-
- org.apache.thrift.Option.None<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.thrift.Option
Option.None<T>, Option.Some<T>
-
-
Constructor Summary
Constructors Constructor Description None()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tget()Get the value of the Option (if it is defined)booleanisDefined()Whether the Option is defined or notjava.lang.StringtoString()-
Methods inherited from class org.apache.thrift.Option
fromNullable, none, or, some
-
-
-
-
Method Detail
-
isDefined
public boolean isDefined()
Description copied from class:OptionWhether the Option is defined or not
-
get
public T get()
Description copied from class:OptionGet the value of the Option (if it is defined)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-