Package csw.params.core.generics
Class SimpleKeyType<S>
java.lang.Object
csw.params.core.generics.KeyType<S>
csw.params.core.generics.SimpleKeyType<S>
- Type Parameters:
S
- the type of values that will sit against the key in Parameter
- All Implemented Interfaces:
enumeratum.EnumEntry
,Serializable
- Direct Known Subclasses:
ArrayKeyType
,JSimpleKeyType.ByteKey$
,JSimpleKeyType.CharKey$
,JSimpleKeyType.DoubleKey$
,JSimpleKeyType.FloatKey$
,JSimpleKeyType.IntKey$
,JSimpleKeyType.LongKey$
,JSimpleKeyType.ShortKey$
,KeyType.AltAzCoordKey$
,KeyType.ByteKey$
,KeyType.CharKey$
,KeyType.CometCoordKey$
,KeyType.CoordKey$
,KeyType.DoubleKey$
,KeyType.EqCoordKey$
,KeyType.FloatKey$
,KeyType.IntKey$
,KeyType.LongKey$
,KeyType.MinorPlanetCoordKey$
,KeyType.ShortKey$
,KeyType.SolarSystemCoordKey$
,KeyType.StringKey$
,MatrixKeyType
SimpleKeyType with a name. Holds instances of primitives such as char, int, String etc.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class csw.params.core.generics.KeyType
KeyType.AltAzCoordKey$, KeyType.BooleanKey$, KeyType.ByteArrayKey$, KeyType.ByteKey$, KeyType.ByteMatrixKey$, KeyType.CharKey$, KeyType.ChoiceKey$, KeyType.CometCoordKey$, KeyType.CoordKey$, KeyType.DoubleArrayKey$, KeyType.DoubleKey$, KeyType.DoubleMatrixKey$, KeyType.EqCoordKey$, KeyType.FloatArrayKey$, KeyType.FloatKey$, KeyType.FloatMatrixKey$, KeyType.IntArrayKey$, KeyType.IntKey$, KeyType.IntMatrixKey$, KeyType.LongArrayKey$, KeyType.LongKey$, KeyType.LongMatrixKey$, KeyType.MinorPlanetCoordKey$, KeyType.ShortArrayKey$, KeyType.ShortKey$, KeyType.ShortMatrixKey$, KeyType.SolarSystemCoordKey$, KeyType.StringKey$, KeyType.TAITimeKey$, KeyType.UTCTimeKey$
Nested classes/interfaces inherited from interface enumeratum.EnumEntry
enumeratum.EnumEntry.Camelcase, enumeratum.EnumEntry.CapitalDotcase, enumeratum.EnumEntry.CapitalHyphencase, enumeratum.EnumEntry.CapitalSnakecase, enumeratum.EnumEntry.CapitalWords, enumeratum.EnumEntry.Dotcase, enumeratum.EnumEntry.EnumEntryOps<A extends enumeratum.EnumEntry>, enumeratum.EnumEntry.EnumEntryOps$, enumeratum.EnumEntry.Hyphencase, enumeratum.EnumEntry.LowerCamelcase, enumeratum.EnumEntry.Lowercase, enumeratum.EnumEntry.Snakecase, enumeratum.EnumEntry.Uncapitalised, enumeratum.EnumEntry.Uppercase, enumeratum.EnumEntry.UpperDotcase, enumeratum.EnumEntry.UpperHyphencase, enumeratum.EnumEntry.UpperSnakecase, enumeratum.EnumEntry.UpperWords, enumeratum.EnumEntry.Words
-
Constructor Summary
ConstructorDescriptionSimpleKeyType
(scala.reflect.ClassTag<S> evidence$3, io.bullet.borer.Encoder<Object> evidence$4, io.bullet.borer.Decoder<Object> evidence$5) -
Method Summary
Methods inherited from class csw.params.core.generics.KeyType
enumeratum$Enum$$existingEntriesString, equals, extraNamesToValuesMap, findValues, hashCode, indexOf, lowerCaseNamesToValuesMap, namesToValuesMap, paramCoreDecoder, paramEncoder, upperCaseNameValuesToMap, values, valuesToIndex, withName, withNameEither, withNameInsensitive, withNameInsensitiveEither, withNameInsensitiveOption, withNameLowercaseOnly, withNameLowercaseOnlyEither, withNameLowercaseOnlyOption, withNameOption, withNameUppercaseOnly, withNameUppercaseOnlyEither, withNameUppercaseOnlyOption
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface enumeratum.EnumEntry
entryName, enumeratum$EnumEntry$$stableEntryName
-
Constructor Details
-
SimpleKeyType
-
-
Method Details
-
make
Make a Key from provided name- Parameters:
name
- represents keyName in Key- Returns:
- a Key[S] with NoUnits where S is the type of values that will sit against the key in Parameter
-
make
Make a Key from provided name and units- Parameters:
name
- represents keyName in Keyunits
- represents the units of the values- Returns:
- a Key[S] with units where S is the type of values that will sit against the key in Parameter
-