public class SetType extends CollectionType
| Constructor and Description |
|---|
SetType()
Constructs a polymorphic set type; i.e., one whose base type is a type
parameter.
|
SetType(Type baseType)
Constructs a set type with the specified base type.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
kind()
Returns the constant identifying set types; i.e., Type.SET.
|
CollectionType |
newCollectionType(Type baseType)
Returns a new set type with the specified base type.
|
java.lang.String |
toString() |
baseType, baseTypeRef, checkOccurrence, copy, eqCode, flatten, getParameters, instantiate, isEqualTo, isEqualTo, isPolymorphic, numberOfTypeComponents, setTypeRefComponent, typeRefComponent, unify, unifyactualType, array, array, BOOLEAN, BOXED_BOOLEAN, BOXED_CHAR, BOXED_INT, BOXED_REAL, boxSort, CHAR, copy, curry, equals, findValue, getParameters, getValue, INT, is, isBag, isBoolean, isBoxedType, isChar, isCollection, isGlobalUnsafe, isInt, isList, isPrimitive, isReal, isSet, isString, isVoid, kindString, rank, REAL, resetNames, setBoxed, shadowType, sort, standardize, toFullString, toQuantifiedString, toQuantifiedString, typeComponent, unwrapper, value, wrapperpublic SetType()
public SetType(Type baseType)
public final CollectionType newCollectionType(Type baseType)
newCollectionType in class CollectionTypepublic final byte kind()
public final java.lang.String toString()
toString in class java.lang.Object