Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptionalSupplier ¶
type OptionalSupplierFunc ¶
func (OptionalSupplierFunc) Get ¶
func (supplier OptionalSupplierFunc) Get() optional.Optional
type Supplier ¶
type Supplier interface {
/**
* Gets a result.
*
* @return a result
*/
Get() interface{}
}
*
- Represents a supplier of results. *
- <p>There is no requirement that a new or distinct result be returned each
- time the supplier is invoked. *
- <p>This is a <a href="package-summary.html">functional interface</a>
- whose functional method is {@link #get()}. *
- @param <T> the type of results supplied by this supplier *
- @since 1.8
type SupplierFunc ¶
type SupplierFunc func() interface{}
func (SupplierFunc) Get ¶
func (supplier SupplierFunc) Get() interface{}
Click to show internal directories.
Click to hide internal directories.