Uses of Interface
no.digipost.util.ViewableAsOptional
Packages that use ViewableAsOptional
-
Uses of ViewableAsOptional in no.digipost.concurrent
Classes in no.digipost.concurrent that implement ViewableAsOptionalModifier and TypeClassDescriptionfinal classA 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.utilModifier and TypeInterfaceDescriptioninterfaceAssignment<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 interfaceASupplierwhich is alsoViewableAsOptional.Classes in no.digipost.util that implement ViewableAsOptionalModifier and TypeClassDescriptionfinal classChainableAssignment<V,C> AnAssignmentwith the added ability to chain several assignments withChainableAssignment.is(Object).