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