enum SequenceValueType extends Enum<SequenceValueType> implements ValueType
Enum Constant and Description |
---|
SQ |
Modifier and Type | Method and Description |
---|---|
boolean |
isIntValue() |
boolean |
isStringValue() |
boolean |
isTemporalType() |
int |
numEndianBytes() |
boolean |
prompt(Object val,
boolean bigEndian,
SpecificCharacterSet cs,
int maxChars,
StringBuilder sb) |
byte[] |
toBytes(Object val,
SpecificCharacterSet cs) |
Date[] |
toDate(Object val,
TimeZone tz,
boolean ceil,
DatePrecisions precisions) |
Date |
toDate(Object val,
TimeZone tz,
int valueIndex,
boolean ceil,
Date defVal,
DatePrecision precision) |
double |
toDouble(Object val,
boolean bigEndian,
int valueIndex,
double defVal) |
double[] |
toDoubles(Object val,
boolean bigEndian) |
float |
toFloat(Object val,
boolean bigEndian,
int valueIndex,
float defVal) |
float[] |
toFloats(Object val,
boolean bigEndian) |
byte[] |
toggleEndian(byte[] b,
boolean preserve) |
int |
toInt(Object val,
boolean bigEndian,
int valueIndex,
int defVal) |
int[] |
toInts(Object val,
boolean bigEndian) |
String |
toString(Object val,
boolean bigEndian,
int valueIndex,
String defVal) |
Object |
toStrings(Object val,
boolean bigEndian,
SpecificCharacterSet cs) |
Object |
toValue(byte[] b) |
Object |
toValue(Date[] ds,
TimeZone tz,
DatePrecision precision) |
Object |
toValue(double[] ds,
boolean bigEndian) |
Object |
toValue(float[] fs,
boolean bigEndian) |
Object |
toValue(int[] is,
boolean bigEndian) |
Object |
toValue(String[] ss,
boolean bigEndian) |
Object |
toValue(String s,
boolean bigEndian) |
boolean |
useSpecificCharacterSet() |
static SequenceValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SequenceValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
int |
vmOf(Object val) |
public static final SequenceValueType SQ
public static SequenceValueType[] values()
for (SequenceValueType c : SequenceValueType.values()) System.out.println(c);
public static SequenceValueType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isStringValue()
isStringValue
in interface ValueType
public boolean useSpecificCharacterSet()
useSpecificCharacterSet
in interface ValueType
public boolean isIntValue()
isIntValue
in interface ValueType
public boolean isTemporalType()
isTemporalType
in interface ValueType
public int numEndianBytes()
numEndianBytes
in interface ValueType
public byte[] toggleEndian(byte[] b, boolean preserve)
toggleEndian
in interface ValueType
public byte[] toBytes(Object val, SpecificCharacterSet cs)
public Object toStrings(Object val, boolean bigEndian, SpecificCharacterSet cs)
public Date toDate(Object val, TimeZone tz, int valueIndex, boolean ceil, Date defVal, DatePrecision precision)
public Date[] toDate(Object val, TimeZone tz, boolean ceil, DatePrecisions precisions)
public Object toValue(Date[] ds, TimeZone tz, DatePrecision precision)
public boolean prompt(Object val, boolean bigEndian, SpecificCharacterSet cs, int maxChars, StringBuilder sb)
Copyright © 2017 dcm4che.org. All rights reserved.