1 23 24 29 42 43 48 49 package com.sun.enterprise.util.collection; 50 51 import java.util.Iterator ; 52 53 58 public interface Bucket { 59 60 67 public Object put(int key, Object object); 68 public Object put(long key, Object object); 69 70 75 public Object get(int key); 76 public Object get(long key); 77 78 83 public Object remove(int key); 84 public Object remove(long key); 85 86 91 public boolean containsKey(int key); 92 public boolean containsKey(long key); 93 94 95 99 public int size(); 100 101 105 public Iterator iterator(); 106 107 111 public Iterator entryIterator(); 112 113 } 114 | Popular Tags |