Warning: session_start(): open(/var/lib/php/sessions/sess_2nqsjl2kchaa3ullk7sc5oartl, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
sclass PtSet extends java.util.AbstractSet {
final CompactLongSet set;
*() { set = new CompactLongSet; }
*(int size) { set = new CompactLongSet(size); }
*(Iterable l) {
if (l != null) for (Pt p : l) add(p);
}
*(Cl l) {
this(l(l));
if (l != null) for (Pt p : l) add(p);
}
public int size() { ret set.size(); }
public bool contains(Pt p) {
ret set.contains(ptToLong(p));
}
public bool contains(int x, int y) {
ret set.contains(ptToLong(x, y));
}
public bool add(Pt p) {
ret set.add(ptToLong(p));
}
public bool add(int x, int y) {
ret set.add(ptToLong(x, y));
}
public bool remove(Pt p) {
ret set.remove(ptToLong(p));
}
public bool remove(int x, int y) {
ret set.remove(ptToLong(x, y));
}
public void clear { set.clear(); }
public Iterator iterator() {
RenamedLongIterator it = set.iterator();
ret new ItIt {
public bool hasNext() {
ret it.hasNext();
}
public Pt next() {
ret ptFromLong(it.nextLong());
}
public void remove() {
it.remove();
}
};
}
}