Package nz.org.riskscape.engine.types
Class WithinSet
java.lang.Object
nz.org.riskscape.engine.types.WithinSet
- All Implemented Interfaces:
Type
,WrappingType
Can be one of the given values.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.google.common.base.Joiner
static final ComplexTypeConstructor
static final TypeInformation
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.types.Type
checkForNull, find, findAllowNull, getUnwrappedType, isA, isNumeric, isWrapped, toString, unwrap
Methods inherited from interface nz.org.riskscape.engine.types.WrappingType
asStruct, estimateSize, fromBytes, isNullable, toBytes, visit
-
Field Details
-
TYPE_CONSTRUCTOR
-
TYPE_INFORMATION
-
JOINER
public static final com.google.common.base.Joiner JOINER
-
-
Constructor Details
-
WithinSet
-
WithinSet
-
-
Method Details
-
coerce
Description copied from interface:Type
Attempt to convert the given value in to one represented by this type.
-
internalType
Description copied from interface:Type
The underlying java class used to represent this type.
- Specified by:
internalType
in interfaceType
-
allowedString
-
toString
-
equals
-
hashCode
public int hashCode() -
getAllowed
-
getUnderlyingType
- Specified by:
getUnderlyingType
in interfaceWrappingType
- Returns:
- the type that we immediately wrap. Used by
Type.getUnwrappedType()
to descend through all wrappedType
to find the first unwrapped one.
-