SimpleType
class is the open type class whose instances describe
all open data values which are neither arrays,
nor CompositeData
values,
nor TabularData
values.
It predefines all its possible instances as static fields, and has no public constructor.
Given a SimpleType
instance describing values whose Java class name is className,
the internal fields corresponding to the name and description of this SimpleType
instance
are also set to className.
In other words, its methods getClassName
, getTypeName
and getDescription
all return the same string value className.
Modifier and Type | Field and Description |
---|---|
public static final SimpleType | BIGDECIMAL
The |
public static final SimpleType | BIGINTEGER
The |
public static final SimpleType | BOOLEAN
The |
public static final SimpleType | BYTE
The |
private static final Map | |
public static final SimpleType | CHARACTER
The |
public static final SimpleType | DATE
The |
public static final SimpleType | DOUBLE
The |
public static final SimpleType | FLOAT
The |
public static final SimpleType | INTEGER
The |
public static final SimpleType | LONG
The |
private transient Integer | |
private transient String | |
public static final SimpleType | OBJECTNAME
The |
pack-priv static final long | |
public static final SimpleType | SHORT
The |
public static final SimpleType | STRING
The |
private static final SimpleType | |
public static final SimpleType | VOID
The |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: true if the specified object is equal to this SimpleType instance.the object to be compared for equality with this obj)SimpleType instance;
if obj is null or is not an instance of the class SimpleType ,
equals returns false .Implements abstract javax. Compares the specified |
public int | Returns: the hash code value for thisSimpleType instanceImplements abstract javax. Returns the hash code value for this |
public boolean | Returns: true if obj is a value for this
SimpleType instance.the object to be tested. obj)Implements abstract javax. Tests whether obj is a value for this
|
public Object | Returns: the replacement object.Replace an object read from an |
public String | Returns: a string representation of thisSimpleType instanceImplements abstract javax. Returns a string representation of this |
BIGDECIMAL | back to summary |
---|---|
public static final SimpleType<BigDecimal> BIGDECIMAL The |
BIGINTEGER | back to summary |
---|---|
public static final SimpleType<BigInteger> BIGINTEGER The |
BOOLEAN | back to summary |
---|---|
public static final SimpleType<Boolean> BOOLEAN The |
BYTE | back to summary |
---|---|
public static final SimpleType<Byte> BYTE The |
canonicalTypes | back to summary |
---|---|
private static final Map<SimpleType<?>, SimpleType<?>> canonicalTypes |
CHARACTER | back to summary |
---|---|
public static final SimpleType<Character> CHARACTER The |
DATE | back to summary |
---|---|
public static final SimpleType<Date> DATE The |
DOUBLE | back to summary |
---|---|
public static final SimpleType<Double> DOUBLE The |
FLOAT | back to summary |
---|---|
public static final SimpleType<Float> FLOAT The |
INTEGER | back to summary |
---|---|
public static final SimpleType<Integer> INTEGER The |
LONG | back to summary |
---|---|
public static final SimpleType<Long> LONG The |
myHashCode | back to summary |
---|---|
private transient Integer myHashCode |
myToString | back to summary |
---|---|
private transient String myToString |
OBJECTNAME | back to summary |
---|---|
public static final SimpleType<ObjectName> OBJECTNAME The |
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID |
SHORT | back to summary |
---|---|
public static final SimpleType<Short> SHORT The |
STRING | back to summary |
---|---|
public static final SimpleType<String> STRING The |
typeArray | back to summary |
---|---|
private static final SimpleType<?>[] typeArray |
VOID | back to summary |
---|---|
public static final SimpleType<Void> VOID The |
SimpleType | back to summary |
---|---|
private SimpleType(Class<T> valueClass) |
equals | back to summary |
---|---|
public boolean equals(Object obj) Implements abstract javax. Compares the specified
Two
|
hashCode | back to summary |
---|---|
public int hashCode() Implements abstract javax. Returns the hash code value for this
As
|
isValue | back to summary |
---|---|
public boolean isValue(Object obj) Implements abstract javax. Tests whether obj is a value for this
This method returns
|
readResolve | back to summary |
---|---|
public Object readResolve() throws ObjectStreamException Replace an object read from an
|
toString | back to summary |
---|---|
public String toString() Implements abstract javax. Returns a string representation of this
The string representation consists of
the name of this class (ie
As
|