Warning: session_start(): open(/var/lib/php/sessions/sess_33p3td7vijv7r3njq4fhsvau6q, 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 Fragment {
S text; // should not be null like ever
int hashCode;
*() {}
*(S *text) {}
toString { ret text == null ? "null fragment you bunny" : text; }
public int hashCode() {
if (hashCode == 0) hashCode = main hashCode(upper(text));
ret hashCode;
}
// Note: we have the "turkish" problem (upper <-> eqic)
public bool equals(O o) {
// we could allow string here too but that's nasty
if (!o instanceof Fragment) false;
ret eqic(text, o/Fragment.text);
}
}