| Interface | Description |
|---|---|
| AtMostOne<T> |
This class offers a subtle functionality which is not available in the
Collection/Stream API of Java: to retrieve the only element that is expected to be present,
and, importantly,
throw an exception if there are elements that will be discarded
if assuming that there is at most one element present. |
| GetsNamedValue<V> | |
| SetsNamedValue<V> | |
| ViewableAsOptional<V> |
| Class | Description |
|---|---|
| Attribute<V> |
An
Attribute defines a String-based name (or key) and the type of a value which
the name maps to. |
| JustA<T> |
Base class for creating simple "typed primitives" value classes.
|
| Exception | Description |
|---|---|
| GetsNamedValue.NotFound | |
| ViewableAsOptional.TooManyElements |
An object which was attempted to be viewed as a
Optional
representation of itself contained more than one element, and is thus
not applicable for such conversion. |
Copyright © 2016 Digipost. All rights reserved.