1 17 package org.apache.commons.collections.primitives; 18 19 30 public interface ShortList extends ShortCollection { 31 51 boolean add(short element); 52 53 68 void add(int index, short element); 69 70 87 boolean addAll(int index, ShortCollection collection); 88 89 104 boolean equals(Object that); 105 106 114 short get(int index); 115 116 134 int hashCode(); 135 136 146 int indexOf(short element); 147 148 153 ShortIterator iterator(); 154 155 164 int lastIndexOf(short element); 165 166 171 ShortListIterator listIterator(); 172 173 189 ShortListIterator listIterator(int index); 190 191 204 short removeElementAt(int index); 205 206 219 short set(int index, short element); 220 221 248 ShortList subList(int fromIndex, int toIndex); 249 250 } 251 | Popular Tags |