Top Description Fields Constructors Methods
org.codehaus.commons.compiler.java8.java.util

public Class Optional<T>

extends Object
Class Inheritance
Imports
java.lang.reflect.Method, org.codehaus.commons.compiler.util.reflect.Classes, .Methods, .NoException

Pre-Java-9-compatible facade for Java 9's java.util.Optional class.

Field Summary

Modifier and TypeField and Description
private static final Class<?>
private final Object
private static final Method

Constructor Summary

AccessConstructor and Description
public
Optional(Object delegate)

Method Summary

Modifier and TypeMethod and Description
public T
get()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CLASSback to summary
private static final Class<?> CLASS
delegateback to summary
private final Object delegate
METHOD_getback to summary
private static final Method METHOD_get

Constructor Detail

Optionalback to summary
public Optional(Object delegate)

Method Detail

getback to summary
public T get()