|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.xsom.util.TypeSet
public abstract class TypeSet
A simple abstraction for a set of Types that defines containment functions.
Constructor Summary | |
---|---|
TypeSet()
|
Method Summary | |
---|---|
abstract boolean |
contains(XSType type)
Return true if this TypeSet contains the specified type. |
static TypeSet |
intersection(TypeSet a,
TypeSet b)
Calculate the TypeSet formed by the intersection of two other TypeSet objects. |
static TypeSet |
union(TypeSet a,
TypeSet b)
Calculate the TypeSet formed by the union of two other TypeSet objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeSet()
Method Detail |
---|
public abstract boolean contains(XSType type)
type
- the type
public static TypeSet intersection(TypeSet a, TypeSet b)
a
- a TypeSetb
- another TypeSet
public static TypeSet union(TypeSet a, TypeSet b)
a
- a TypeSetb
- another TypeSet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |