1 19 package bak.pcj; 20 21 30 public interface ByteCollection { 31 32 48 boolean add(byte v); 49 50 71 boolean addAll(ByteCollection c); 72 73 80 void clear(); 81 82 94 boolean contains(byte v); 95 96 113 boolean containsAll(ByteCollection c); 114 115 124 boolean equals(Object obj); 125 126 131 int hashCode(); 132 133 139 boolean isEmpty(); 140 141 146 ByteIterator iterator(); 147 148 162 boolean remove(byte v); 163 164 183 boolean removeAll(ByteCollection c); 184 185 205 boolean retainAll(ByteCollection c); 206 207 212 int size(); 213 214 220 byte[] toArray(); 221 222 237 byte[] toArray(byte[] a); 238 239 244 void trimToSize(); 245 246 } | Popular Tags |