/** * Gets the value of a variable * @return the value or null */ public Value get(char c) { int hash = hashCode(c) & 0x7FFFFFFF; int index = hash % table.length; for (Entry e = table[index]; e != null; e = e.next) { if ((e.hash == hash) && e.match(c)) { return (Value)e.get(); } } return null; }
/** * Gets the value of a variable * @return the value or null */ public Value get(char c) { int hash = hashCode(c) & 0x7FFFFFFF; int index = hash % table.length; for (Entry e = table[index]; e != null; e = e.next) { if ((e.hash == hash) && e.match(c)) { return (Value)e.get(); } } return null; }
/** * Gets the value of a variable * @return the value or null */ public Value get(char c) { int hash = hashCode(c) & 0x7FFFFFFF; int index = hash % table.length; for (Entry e = table[index]; e != null; e = e.next) { if ((e.hash == hash) && e.match(c)) { return (Value)e.get(); } } return null; }