1 17 package org.apache.commons.collections.primitives; 18 19 30 public interface ByteCollection { 31 51 boolean add(byte element); 52 53 66 boolean addAll(ByteCollection c); 67 68 76 void clear(); 77 78 85 boolean contains(byte element); 86 87 95 boolean containsAll(ByteCollection c); 96 97 101 boolean isEmpty(); 102 103 109 ByteIterator iterator(); 110 111 128 boolean removeAll(ByteCollection c); 129 130 141 boolean removeElement(byte element); 142 143 159 boolean retainAll(ByteCollection c); 160 161 165 int size(); 166 167 183 byte[] toArray(); 184 185 204 byte[] toArray(byte[] a); 205 } 206 | Popular Tags |