public class Explicit<T>
extends java.lang.Object
Constructor and Description |
---|
Explicit(T value,
boolean explicit)
Create a value with an indication if this was an explicit choice
|
Modifier and Type | Method and Description |
---|---|
boolean |
explicit() |
T |
value() |
public Explicit(T value, boolean explicit)
value
- a setting valueexplicit
- true if the value passed is a conscious decision, false if using some kind of defaultpublic T value()
public boolean explicit()