Package org.xcsp.common
Interface Types.TypeClass
-
- All Known Implementing Classes:
Types.SpecialClass
,Types.StandardClass
- Enclosing class:
- Types
public static interface Types.TypeClass
The interface that denotes a class (XML/HTML meaning) that can be associated with any XCSP3 element
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description String
ccname()
Returns the camel case name of this constant (for example, clues, or symmetryBreaking)static Types.TypeClass[]
classesFor(String... classes)
Transforms String objects into TypeClass objects.static boolean
equivalent(Set<Types.TypeClass> s1, Set<Types.TypeClass> s2)
Determines if the two specified arrays of TypeClass objects are equivalent or not.static boolean
intersect(Types.TypeClass[] t1, Types.TypeClass[] t2)
Determines if the two specified arrays of TypeClass objects intersect or not.
-
-
-
Method Detail
-
ccname
String ccname()
Returns the camel case name of this constant (for example, clues, or symmetryBreaking)
-
classesFor
static Types.TypeClass[] classesFor(String... classes)
Transforms String objects into TypeClass objects.
-
intersect
static boolean intersect(Types.TypeClass[] t1, Types.TypeClass[] t2)
Determines if the two specified arrays of TypeClass objects intersect or not.
-
equivalent
static boolean equivalent(Set<Types.TypeClass> s1, Set<Types.TypeClass> s2)
Determines if the two specified arrays of TypeClass objects are equivalent or not.
-
-