Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.utils.collections
Class CircularQueue<E>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by weblogic.utils.collections.CircularQueue<E>

All Implemented Interfaces:
Iterable<E>, Collection<E>

public final class CircularQueue<E>
extends AbstractCollection<E>

Provides a unsynchronized implementation of a circular queue.


Method Summary
 boolean add(E obj)
           
 int capacity()
           
 void clear()
           
 Object clone()
           
 boolean isEmpty()
           
 Iterator<E> iterator()
           
 Object peek()
           
 E remove()
           
 int size()
           
 String toString()
           

 

Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray

 

Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream

 

Methods inherited from interface java.lang.Iterable
forEach

 

Method Detail

add

public boolean add(E obj)
Specified by:
add in interface Collection<E>
Overrides:
add in class AbstractCollection<E>

remove

public E remove()

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection<E>
Overrides:
isEmpty in class AbstractCollection<E>

size

public int size()
Specified by:
size in interface Collection<E>
Specified by:
size in class AbstractCollection<E>

capacity

public int capacity()

peek

public Object peek()

clear

public void clear()
Specified by:
clear in interface Collection<E>
Overrides:
clear in class AbstractCollection<E>

clone

public Object clone()
Overrides:
clone in class Object

toString

public String toString()
Overrides:
toString in class AbstractCollection<E>

iterator

public Iterator<E> iterator()
Specified by:
iterator in interface Iterable<E>
Specified by:
iterator in interface Collection<E>
Specified by:
iterator in class AbstractCollection<E>

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09