Uses of Interface
no.digipost.util.ViewableAsOptional
-
Packages that use ViewableAsOptional Package Description no.digipost.concurrent no.digipost.util -
-
Uses of ViewableAsOptional in no.digipost.concurrent
Classes in no.digipost.concurrent that implement ViewableAsOptional Modifier and Type Class Description classOneTimeAssignment<V>A reference which may or may not be assigned a value, with the added constraint that it can only be assigned once. -
Uses of ViewableAsOptional in no.digipost.util
Subinterfaces of ViewableAsOptional in no.digipost.util Modifier and Type Interface Description interfaceAssignment<V>An assignment may or may not be assigned, the assigned value can be retrieved withSupplier.get()and will returnnullif unassigned, and may be assigned withAssignment.set(Object)if the assignment allows (re-)assignment.interfaceAtMostOne<T>This class offers a subtle functionality which is not available in the Collection 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 discardedif assuming that there is at most one element present.static interfaceViewableAsOptional.Single<V>ASupplierwhich is alsoViewableAsOptional.Classes in no.digipost.util that implement ViewableAsOptional Modifier and Type Class Description classChainableAssignment<V,C>AnAssignmentwith the added ability to chain several assignments withChainableAssignment.is(Object).
-