Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 7 8 package java.util; 9 10 165 166 public interface Deque<E> extends Queue <E> { 167 183 void addFirst(E e); 184 185 203 void addLast(E e); 204 205 221 boolean offerFirst(E e); 222 223 239 boolean offerLast(E e); 240 241 249 E removeFirst(); 250 251 259 E removeLast(); 260 261 267 E pollFirst(); 268 269 275 E pollLast(); 276 277 286 E getFirst(); 287 288 296 E getLast(); 297 298 304 E peekFirst(); 305 306 312 E peekLast(); 313 314 330 boolean removeFirstOccurrence(Object o); 331 332 348 boolean removeLastOccurrence(Object o); 349 350 352 374 boolean add(E e); 375 376 397 boolean offer(E e); 398 399 410 E remove(); 411 412 422 E poll(); 423 424 435 E element(); 436 437 447 E peek(); 448 449 450 452 471 void push(E e); 472 473 483 E pop(); 484 485 486 488 506 boolean remove(Object o); 507 508 521 boolean contains(Object o); 522 523 528 public int size(); 529 530 536 Iterator <E> iterator(); 537 538 546 Iterator <E> descendingIterator(); 547 548 } 549
| Popular Tags
|