public class BagType extends CollectionType
| Constructor and Description |
|---|
BagType()
Constructs a polymorphic bag type; i.e., one whose base type is a type
parameter.
|
BagType(Type baseType)
Constructs a bag type with the specified base type.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
kind()
Returns the constant identifying bag types; i.e., Type.BAG.
|
CollectionType |
newCollectionType(Type basetype)
Returns a new bag 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 BagType()
public BagType(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