public String toString() { StringBuffer buf = new StringBuffer(); buf.append("<dead"); LuaValue k = key(); if (k != null) { buf.append(": "); buf.append(k.toString()); } buf.append('>'); if (next != null) { buf.append("; "); buf.append(next.toString()); } return buf.toString(); } };
public String toString() { StringBuffer buf = new StringBuffer(); buf.append("<dead"); LuaValue k = key(); if (k != null) { buf.append(": "); buf.append(k.toString()); } buf.append('>'); if (next != null) { buf.append("; "); buf.append(next.toString()); } return buf.toString(); } };
@Override public String toString() { StringBuffer buf = new StringBuffer(); buf.append("<dead"); LuaValue k = key(); if (k != null) { buf.append(": "); buf.append(k.toString()); } buf.append('>'); if (next != null) { buf.append("; "); buf.append(next.toString()); } return buf.toString(); } }
public boolean keyeq(LuaValue key) { LuaValue k = key(); return k != null && key.raweq(k); }
public boolean keyeq(LuaValue key) { LuaValue k = key(); return k != null && key.raweq(k); }
public Slot set(StrongSlot target, LuaValue value) { Slot next = ( this.next != null ) ? this.next.set( target, value ) : null; if ( key() != null ) { // if key hasn't been garbage collected, it is still potentially a valid argument // to next(), so we can't drop this entry yet. this.next = next; return this; } else { return next; } }
@Override public boolean keyeq(LuaValue key) { LuaValue k = key(); return k != null && key.raweq(k); }
public Slot remove(StrongSlot target) { if ( key() != null ) { next = next.remove(target); return this; } else { return next; } }
@Override public Slot set(StrongSlot target, LuaValue value) { Slot next = ( this.next != null ) ? this.next.set( target, value ) : null; if ( key() != null ) { // if key hasn't been garbage collected, it is still potentially a valid argument // to next(), so we can't drop this entry yet. this.next = next; return this; } else { return next; } }
public Slot remove(StrongSlot target) { if ( key() != null ) { next = next.remove(target); return this; } else { return next; } }
public Slot set(StrongSlot target, LuaValue value) { Slot next = ( this.next != null ) ? this.next.set( target, value ) : null; if ( key() != null ) { // if key hasn't been garbage collected, it is still potentially a valid argument // to next(), so we can't drop this entry yet. this.next = next; return this; } else { return next; } }
@Override public Slot remove(StrongSlot target) { if ( key() != null ) { next = next.remove(target); return this; } else { return next; } }