Package org.aoju.bus.image.galaxy.data
Enum Class SequenceValueType
- All Implemented Interfaces:
Serializable,Comparable<SequenceValueType>,Constable,ValueType
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanintbooleanprompt(Object val, boolean bigEndian, SpecificCharacterSet cs, int maxChars, StringBuilder sb) byte[]toBytes(Object val, SpecificCharacterSet cs) Date[]toDate(Object val, TimeZone tz, boolean ceil, DatePrecision precisions) toDate(Object val, TimeZone tz, int valueIndex, boolean ceil, Date defVal, DatePrecision precision) doubledouble[]floatfloat[]byte[]toggleEndian(byte[] b, boolean preserve) intint[]toStrings(Object val, boolean bigEndian, SpecificCharacterSet cs) toValue(byte[] b) toValue(double[] ds, boolean bigEndian) toValue(float[] fs, boolean bigEndian) toValue(int[] is, boolean bigEndian) toValue(Date[] ds, TimeZone tz, DatePrecision precision) booleanstatic SequenceValueTypeReturns the enum constant of this class with the specified name.static SequenceValueType[]values()Returns an array containing the constants of this enum class, in the order they are declared.int
-
Enum Constant Details
-
SQ
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isStringValue
public boolean isStringValue()- Specified by:
isStringValuein interfaceValueType
-
useSpecificCharacterSet
public boolean useSpecificCharacterSet()- Specified by:
useSpecificCharacterSetin interfaceValueType
-
isIntValue
public boolean isIntValue()- Specified by:
isIntValuein interfaceValueType
-
isTemporalType
public boolean isTemporalType()- Specified by:
isTemporalTypein interfaceValueType
-
numEndianBytes
public int numEndianBytes()- Specified by:
numEndianBytesin interfaceValueType
-
toggleEndian
public byte[] toggleEndian(byte[] b, boolean preserve) - Specified by:
toggleEndianin interfaceValueType
-
toBytes
-
toString
-
toStrings
-
toInt
-
toInts
-
toFloat
-
toFloats
-
toDouble
-
toDoubles
-
toDate
public Date toDate(Object val, TimeZone tz, int valueIndex, boolean ceil, Date defVal, DatePrecision precision) -
toDate
-
toValue
-
toValue
-
toValue
-
toValue
-
toValue
-
toValue
-
toValue
-
prompt
public boolean prompt(Object val, boolean bigEndian, SpecificCharacterSet cs, int maxChars, StringBuilder sb) -
vmOf
-