for ( Slot slot = hash[ index ]; slot != null; slot = slot.rest() ) { StrongSlot foundSlot; if ( ( foundSlot = slot.find( key ) ) != null ) { hash[index] = hash[index].set( foundSlot, value ); return;
for ( Slot slot = hash[ index ]; slot != null; slot = slot.rest() ) { StrongSlot foundSlot; if ( ( foundSlot = slot.find( key ) ) != null ) { hash[index] = hash[index].set( foundSlot, value ); return;
for ( Slot slot = hash[ index ]; slot != null; slot = slot.rest() ) { StrongSlot foundSlot; if ( ( foundSlot = slot.find( key ) ) != null ) { hash[index] = hash[index].set( foundSlot, value ); return;
private void hashRemove( LuaValue key ) { if ( hash.length > 0 ) { int index = hashSlot(key); for ( Slot slot = hash[index]; slot != null; slot = slot.rest() ) { StrongSlot foundSlot; if ( ( foundSlot = slot.find( key ) ) != null ) { hash[index] = hash[index].remove( foundSlot ); --hashEntries; return; } } } }
private void hashRemove( LuaValue key ) { if ( hash.length > 0 ) { int index = hashSlot(key); for ( Slot slot = hash[index]; slot != null; slot = slot.rest() ) { StrongSlot foundSlot; if ( ( foundSlot = slot.find( key ) ) != null ) { hash[index] = hash[index].remove( foundSlot ); --hashEntries; return; } } } }
private void hashRemove( LuaValue key ) { if ( hash.length > 0 ) { int index = hashSlot(key); for ( Slot slot = hash[index]; slot != null; slot = slot.rest() ) { StrongSlot foundSlot; if ( ( foundSlot = slot.find( key ) ) != null ) { hash[index] = hash[index].remove( foundSlot ); --hashEntries; return; } } } }
protected LuaValue hashget(LuaValue key) { if ( hashEntries > 0 ) { for ( Slot slot = hash[ hashSlot(key) ]; slot != null; slot = slot.rest() ) { StrongSlot foundSlot; if ( ( foundSlot = slot.find(key) ) != null ) { return foundSlot.value(); } } } return NIL; }
protected LuaValue hashget(LuaValue key) { if ( hashEntries > 0 ) { for ( Slot slot = hash[ hashSlot(key) ]; slot != null; slot = slot.rest() ) { StrongSlot foundSlot; if ( ( foundSlot = slot.find(key) ) != null ) { return foundSlot.value(); } } } return NIL; }
protected LuaValue hashget(LuaValue key) { if ( hashEntries > 0 ) { for ( Slot slot = hash[ hashSlot(key) ]; slot != null; slot = slot.rest() ) { StrongSlot foundSlot; if ( ( foundSlot = slot.find(key) ) != null ) { return foundSlot.value(); } } } return NIL; }