public class MultValuesType extends OccurrenceType
Type.NeverReturnsemptySequenceType, typeOccurrenceTypeboolean_ctype, boolean_type, booleanType, booleanValue_method, byte_type, byteType, char_type, charType, clone_method, double_type, doubleType, doubleValue_method, errorType, float_type, floatType, floatValue_method, int_type, intType, intValue_method, java_lang_Class_type, javalangannotationAnnotationType, javalangBooleanType, javalangCharacterType, javalangClassType, javalanginvokeMethodHandleType, javalangNumberType, javalangObjectType, javalangStringType, javalangThrowableType, long_type, longType, longValue_method, neverReturnsType, nullType, number_type, objectType, pointer_type, reflectClass, short_type, shortType, string_type, throwable_type, toString_method, tostring_type, toStringType, typeArray0, void_type, voidType| Constructor and Description |
|---|
MultValuesType(Type[] itemTypes) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Type other)
Return a numeric code showing "subtype" relationship:
1: if other is a pure subtype of this;
0: if has the same values;
-1: if this is a pure subtype of other;
-2: if they have values in common but neither is a subtype of the other;
-3: if the types have no values in common.
|
static Type |
create(Type[] itemTypes) |
Type |
getImplementationType()
Return Java-level implementation type.
|
int |
getValueCount() |
Type |
getValueType(int index) |
int |
isCompatibleWithValue(Type valueType)
If this is the target type, is a given source type compatible?
|
void |
readExternal(java.io.ObjectInput in) |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput out) |
coerceFromObject, compatibleWithCount, convertValue, emitIsInstance, emitTestIf, getBase, getConstructor, getInstance, isInstance, itemCountCode, itemCountIsOne, itemCountIsZeroOrOne, itemCountMax, itemCountMin, itemCountRange, itemPrimeType, maxOccurs, minOccurs, setBasecoerceToObject, emitCoerceFromObject, emitCoerceToObject, emitConvertFromPrimitive, emitIsInstance, getGenericSignature, getMaybeGenericSignature, getName, getRawType, getRealType, getReflectClass, getSignature, getSize, getSizeInWords, getType, hashCode, isCompatibleWithValue, isExisting, isInterface, isMoreSpecific, isSame, isSubtype, isValidJavaTypeName, isVoid, lookupType, lowestCommonSharedType, lowestCommonSuperType, make, make, printSignature, promote, promoteIfUnsigned, registerTypeForClass, setGenericSignature, setName, setReflectClass, setSignature, signatureLength, signatureLength, signatureToName, signatureToPrimitive, signatureToType, signatureToType, swappedCompareResultclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitencodeTypepublic MultValuesType(Type[] itemTypes)
public int getValueCount()
public Type getValueType(int index)
public Type getImplementationType()
TypegetImplementationType in interface TypeValuegetImplementationType in class OccurrenceTypepublic java.lang.String toString()
toString in class OccurrenceTypepublic int isCompatibleWithValue(Type valueType)
TypeisCompatibleWithValue in class Typepublic int compare(Type other)
Typecompare in class OccurrenceTypepublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class OccurrenceTypejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class OccurrenceTypejava.io.IOExceptionjava.lang.ClassNotFoundException