|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectfunctionalDependency.general.AttributeSet
public class AttributeSet
Die Klasse AttributeSet
repraesentiert eine Menge von Attributen.
Die Attribute werden in der BitSet
-Variablen val
durch gesetzte Bits dargestellt.
Implementiert sind neben den Konstruktoren die Methoden
parseSchemaFromLine(String)
: Parsen eines Strings
add(char)
, add(String)
: Hinzufuegen von Attributen
(gegeben als Character
oder String
)
remove(char)
: Loeschen von Attributen
intersection(AttributeSet)
, union(AttributeSet)
,
substract(AttributeSet)
, substract(char)
: Mengenoperationen
(Durchschnitt, Vereinigung, Differenz)
includes(AttributeSet)
: Teilmengentest
Im Rahmen der Aufgabenstellung muss in dieser Klasse nichts geaendert werden.
Constructor Summary | |
---|---|
AttributeSet()
|
|
AttributeSet(char c)
|
|
AttributeSet(java.lang.String s)
|
Method Summary | |
---|---|
boolean |
add(char c)
|
boolean |
add(java.lang.String s)
|
AttributeSet |
clone()
|
int |
compareTo(AttributeSet a)
|
int |
compareTo(java.lang.Object o)
|
boolean |
contains(char c)
true if this contains c |
boolean |
equals(AttributeSet a)
|
boolean |
equals(java.lang.Object a)
|
java.lang.String |
getAttrString()
|
java.util.Set<java.lang.Character> |
getSet()
|
boolean |
includes(AttributeSet a)
true if a is part of this |
AttributeSet |
intersection(AttributeSet a)
|
boolean |
isEmpty()
|
static AttributeSet |
parseSchemaFromLine(java.lang.String line)
|
boolean |
remove(char c)
|
int |
size()
|
AttributeSet |
substract(AttributeSet a)
substracts a from this |
AttributeSet |
substract(char c)
substracts c from this |
java.lang.String |
toString()
|
AttributeSet |
union(AttributeSet a)
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeSet()
public AttributeSet(java.lang.String s) throws AttributeSetException
AttributeSetException
public AttributeSet(char c) throws AttributeSetException
AttributeSetException
Method Detail |
---|
public static AttributeSet parseSchemaFromLine(java.lang.String line) throws MainException
MainException
public boolean add(java.lang.String s) throws AttributeSetException
AttributeSetException
public boolean add(char c) throws AttributeSetException
AttributeSetException
public boolean remove(char c) throws AttributeSetException
AttributeSetException
public boolean isEmpty()
public int size()
public AttributeSet intersection(AttributeSet a)
public AttributeSet union(AttributeSet a)
public AttributeSet substract(AttributeSet a)
public AttributeSet substract(char c) throws AttributeSetException
AttributeSetException
public boolean includes(AttributeSet a)
public boolean contains(char c)
public java.lang.String getAttrString()
public java.util.Set<java.lang.Character> getSet()
public boolean equals(AttributeSet a)
public boolean equals(java.lang.Object a)
equals
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public int compareTo(AttributeSet a)
public AttributeSet clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |