Documentation
¶
Index ¶
- type Optional
- func (self Optional[T]) And(opt Optional[T]) Optional[T]
- func (self Optional[T]) Filter(fn delegate.Predicate[T]) Optional[T]
- func (self Optional[T]) IfPresent(consume delegate.Consumer1[T])
- func (self Optional[T]) IsNone() bool
- func (self Optional[T]) IsSome() bool
- func (self Optional[T]) Map(mapFn delegate.Function1[T, T]) Optional[T]
- func (self Optional[T]) Or(opt Optional[T]) Optional[T]
- func (self Optional[T]) OrElse(defaultValue T) T
- func (self Optional[T]) OrZero() T
- func (self Optional[T]) String() string
- func (self Optional[T]) Value() T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.