org.geotools.graph.util
Class FIFOQueue
Object
FIFOQueue
- All Implemented Interfaces:
- Iterable, Collection, Queue
public class FIFOQueue
- extends Object
- implements Collection, Queue
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIFOQueue
public FIFOQueue()
FIFOQueue
public FIFOQueue(int size)
enq
public void enq(Object element)
- Specified by:
enq
in interface Queue
deq
public Object deq()
- Specified by:
deq
in interface Queue
size
public int size()
- Specified by:
size
in interface Collection
clear
public void clear()
- Specified by:
clear
in interface Collection
- Specified by:
clear
in interface Queue
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection
- Specified by:
isEmpty
in interface Queue
isFull
public boolean isFull()
toArray
public Object[] toArray()
- Specified by:
toArray
in interface Collection
add
public boolean add(Object o)
- Specified by:
add
in interface Collection
contains
public boolean contains(Object o)
- Specified by:
contains
in interface Collection
remove
public boolean remove(Object o)
- Specified by:
remove
in interface Collection
addAll
public boolean addAll(Collection c)
- Specified by:
addAll
in interface Collection
containsAll
public boolean containsAll(Collection c)
- Specified by:
containsAll
in interface Collection
removeAll
public boolean removeAll(Collection c)
- Specified by:
removeAll
in interface Collection
retainAll
public boolean retainAll(Collection c)
- Specified by:
retainAll
in interface Collection
iterator
public Iterator iterator()
- Specified by:
iterator
in interface Iterable
- Specified by:
iterator
in interface Collection
toArray
public Object[] toArray(Object[] a)
- Specified by:
toArray
in interface Collection
Copyright © 1996-2014 Geotools. All Rights Reserved.