Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Long getKey(String value) {
- if(value == null){
- return 0L;
- }
- for (Entry table : table) {
- for (Entry e = table; e != null; e = e.next)
- if (value.equals(e.value))
- return e.getKey();
- }
- return null;
- }
Add Comment
Please, Sign In to add comment