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