1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
|
public int setState
MyBitSet(){
setState=0;
}
public MyBitSet(MyBitSet theOtherSet) {
setState = theOtherSet.toInt();
}
public MyBitSet(int m) {
setState = m;
}
public boolean empty(){
boolean isEmpty = true;
if (setState !=0){
isEmpty =false;
}
return isEmpty;
public int card(){
int numElements=0;
>code ist zu entwickeln <;
return numElements;
}
|