|
|
@ -434,6 +434,15 @@ public class DBMList extends NCZone |
|
|
else return null; |
|
|
else return null; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Get the number of DBMs in this DBMList. |
|
|
|
|
|
* @return |
|
|
|
|
|
*/ |
|
|
|
|
|
public int size() |
|
|
|
|
|
{ |
|
|
|
|
|
return list.size(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Clone this zone |
|
|
* Clone this zone |
|
|
*/ |
|
|
*/ |
|
|
@ -448,12 +457,14 @@ public class DBMList extends NCZone |
|
|
|
|
|
|
|
|
// Standard Java methods |
|
|
// Standard Java methods |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
public int hashCode() |
|
|
public int hashCode() |
|
|
{ |
|
|
{ |
|
|
// Simple hash code |
|
|
// Simple hash code |
|
|
return list.size(); |
|
|
return list.size(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
public boolean equals(Object o) |
|
|
public boolean equals(Object o) |
|
|
{ |
|
|
{ |
|
|
DBMList dbml; |
|
|
DBMList dbml; |
|
|
@ -477,6 +488,7 @@ public class DBMList extends NCZone |
|
|
|
|
|
|
|
|
// To string methods |
|
|
// To string methods |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
public String toString() |
|
|
public String toString() |
|
|
{ |
|
|
{ |
|
|
return "" + list; |
|
|
return "" + list; |
|
|
@ -530,10 +542,6 @@ public class DBMList extends NCZone |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public int size() { |
|
|
|
|
|
return list.size(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Test program for complementing big DBM lists |
|
|
// Test program for complementing big DBM lists |
|
|
|
|
|
|
|
|
public static void main(String args[]) |
|
|
public static void main(String args[]) |
|
|
|