| |
|
| java.lang.Object org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesets.TypeSet org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesets.EnumeratedTypeSet
EnumeratedTypeSet | public class EnumeratedTypeSet extends TypeSet (Code) | | A type-safe wrapper for Set that also adds TType-specific
functionality, e.g. subTypes() and superTypes().
|
Field Summary | |
Set | fMembers Set containing the TTypes in this EnumeratedTypeSet. |
fMembers | Set fMembers(Code) | | Set containing the TTypes in this EnumeratedTypeSet.
|
EnumeratedTypeSet | public EnumeratedTypeSet(Iterator types, TypeSetEnvironment typeSetEnvironment)(Code) | | Constructs a new EnumeratedTypeSet with the members of Set s in it.
All elements of s must be TTypes.
|
EnumeratedTypeSet | public EnumeratedTypeSet(TypeSetEnvironment typeSetEnvironment)(Code) | | Constructs an empty EnumeratedTypeSet.
|
EnumeratedTypeSet | public EnumeratedTypeSet(TType t, TypeSetEnvironment typeSetEnvironment)(Code) | | Constructs a new EnumeratedTypeSet with the given single TType in it.
|
clear | public void clear()(Code) | | |
getCount | public static int getCount()(Code) | | |
hasUniqueLowerBound | public boolean hasUniqueLowerBound()(Code) | | |
hasUniqueUpperBound | public boolean hasUniqueUpperBound()(Code) | | |
hashCode | public int hashCode()(Code) | | |
initComplete | public void initComplete()(Code) | | |
intersectWith | public void intersectWith(TypeSet s2)(Code) | | Modifies this EnumeratedTypeSet to represent the intersection of the receiver with s2.
Parameters: s2 - |
isEmpty | public boolean isEmpty()(Code) | | |
isSingleton | public boolean isSingleton()(Code) | | |
isUniverse | public boolean isUniverse()(Code) | | true iff this set represents the universe of TTypes |
resetCount | public static void resetCount()(Code) | | |
specialCasesIntersectedWith | protected TypeSet specialCasesIntersectedWith(TypeSet s2)(Code) | | Computes and returns a new EnumeratedTypeSet representing the intersection of the
receiver with s2. Does not modify the receiver.
Parameters: s2 - |
subTypes | public TypeSet subTypes()(Code) | | a new TypeSet representing the set of all sub-types of thetypes in the receiver |
superTypes | public TypeSet superTypes()(Code) | | a new TypeSet representing the set of all super-types of thetypes in the receiver |
Fields inherited from org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesets.TypeSet | final protected int fID(Code)(Java Doc)
|
|
|
|