Uses of Interface
org.apache.commons.collections.Buffer

Packages that use Buffer
org.apache.commons.collections This package contains the interfaces and utilities shared across all the subpackages of this component. 
org.apache.commons.collections.buffer This package contains implementations of the Buffer interface. 
 

Uses of Buffer in org.apache.commons.collections
 

Classes in org.apache.commons.collections that implement Buffer
 class ArrayStack<E>
          An implementation of the Stack API that is based on an ArrayList instead of a Vector, so it is not synchronized to protect against multi-threaded access.
 

Fields in org.apache.commons.collections declared as Buffer
static Buffer BufferUtils.EMPTY_BUFFER
          An empty unmodifiable buffer.
 

Methods in org.apache.commons.collections that return Buffer
static
<E> Buffer<E>
BufferUtils.blockingBuffer(Buffer<E> buffer)
          Returns a synchronized buffer backed by the given buffer that will block on get() and remove() operations.
static
<E> Buffer<E>
BufferUtils.predicatedBuffer(Buffer<E> buffer, Predicate<E> predicate)
          Returns a predicated (validating) buffer backed by the given buffer.
static
<E> Buffer<E>
BufferUtils.synchronizedBuffer(Buffer<E> buffer)
          Returns a synchronized buffer backed by the given buffer.
static
<I,O> Buffer<O>
BufferUtils.transformedBuffer(Buffer<I> buffer, Transformer<I,O> transformer)
          Returns a transformed buffer backed by the given buffer.
static
<E> Buffer<E>
BufferUtils.typedBuffer(Buffer<E> buffer, Class<E> type)
          Deprecated. No longer required with Java 1.5 Generics.
static
<E> Buffer<E>
BufferUtils.unmodifiableBuffer(Buffer<E> buffer)
          Returns an unmodifiable buffer backed by the given buffer.
 

Methods in org.apache.commons.collections with parameters of type Buffer
static
<E> Buffer<E>
BufferUtils.blockingBuffer(Buffer<E> buffer)
          Returns a synchronized buffer backed by the given buffer that will block on get() and remove() operations.
static
<E> Buffer<E>
BufferUtils.predicatedBuffer(Buffer<E> buffer, Predicate<E> predicate)
          Returns a predicated (validating) buffer backed by the given buffer.
static
<E> Buffer<E>
BufferUtils.synchronizedBuffer(Buffer<E> buffer)
          Returns a synchronized buffer backed by the given buffer.
static
<I,O> Buffer<O>
BufferUtils.transformedBuffer(Buffer<I> buffer, Transformer<I,O> transformer)
          Returns a transformed buffer backed by the given buffer.
static
<E> Buffer<E>
BufferUtils.typedBuffer(Buffer<E> buffer, Class<E> type)
          Deprecated. No longer required with Java 1.5 Generics.
static
<E> Buffer<E>
BufferUtils.unmodifiableBuffer(Buffer<E> buffer)
          Returns an unmodifiable buffer backed by the given buffer.
 

Uses of Buffer in org.apache.commons.collections.buffer
 

Classes in org.apache.commons.collections.buffer that implement Buffer
 class AbstractBufferDecorator<E>
          Decorates another Buffer to provide additional behaviour.
 class BlockingBuffer<E>
          Decorates another Buffer to make BlockingBuffer.get() and BlockingBuffer.remove() block when the Buffer is empty.
 class BoundedFifoBuffer<E>
          The BoundedFifoBuffer is a very efficient implementation of Buffer that does not alter the size of the buffer at runtime.
 class CircularFifoBuffer<E>
          CircularFifoBuffer is a first in first out buffer with a fixed size that replaces its oldest element if full.
 class PredicatedBuffer<E>
          Decorates another Buffer to validate that additions match a specified predicate.
 class PriorityBuffer<E>
          Binary heap implementation of Buffer that provides for removal based on Comparator ordering.
 class SynchronizedBuffer<E>
          Decorates another Buffer to synchronize its behaviour for a multi-threaded environment.
 class TransformedBuffer<I,O>
          Decorates another Buffer to transform objects that are added.
 class UnboundedFifoBuffer<E>
          UnboundedFifoBuffer is a very efficient buffer implementation.
 class UnmodifiableBuffer<E>
          Decorates another Buffer to ensure it can't be altered.
 

Methods in org.apache.commons.collections.buffer that return Buffer
static
<E> Buffer<E>
UnmodifiableBuffer.decorate(Buffer<E> buffer)
          Factory method to create an unmodifiable buffer.
static
<E> Buffer<E>
SynchronizedBuffer.decorate(Buffer<E> buffer)
          Factory method to create a synchronized buffer.
static
<E> Buffer<E>
BlockingBuffer.decorate(Buffer<E> buffer)
          Factory method to create a blocking buffer.
static
<E> Buffer<E>
TypedBuffer.decorate(Buffer<E> buffer, Class type)
          Factory method to create a typed list.
static
<E> Buffer<E>
PredicatedBuffer.decorate(Buffer<E> buffer, Predicate<? super E> predicate)
          Factory method to create a predicated (validating) buffer.
static
<I,O> Buffer<O>
TransformedBuffer.decorate(Buffer<I> buffer, Transformer<? super I,? extends O> transformer)
          Factory method to create a transforming buffer.
protected  Buffer<O> TransformedBuffer.getBuffer()
          Gets the decorated buffer.
protected  Buffer<E> SynchronizedBuffer.getBuffer()
          Gets the buffer being decorated.
protected  Buffer<E> PredicatedBuffer.getBuffer()
          Gets the buffer being decorated.
protected  Buffer<E> AbstractBufferDecorator.getBuffer()
          Gets the buffer being decorated.
 

Methods in org.apache.commons.collections.buffer with parameters of type Buffer
static
<E> Buffer<E>
UnmodifiableBuffer.decorate(Buffer<E> buffer)
          Factory method to create an unmodifiable buffer.
static
<E> Buffer<E>
SynchronizedBuffer.decorate(Buffer<E> buffer)
          Factory method to create a synchronized buffer.
static
<E> Buffer<E>
BlockingBuffer.decorate(Buffer<E> buffer)
          Factory method to create a blocking buffer.
static
<E> Buffer<E>
TypedBuffer.decorate(Buffer<E> buffer, Class type)
          Factory method to create a typed list.
static
<E> Buffer<E>
PredicatedBuffer.decorate(Buffer<E> buffer, Predicate<? super E> predicate)
          Factory method to create a predicated (validating) buffer.
static
<I,O> Buffer<O>
TransformedBuffer.decorate(Buffer<I> buffer, Transformer<? super I,? extends O> transformer)
          Factory method to create a transforming buffer.
 

Constructors in org.apache.commons.collections.buffer with parameters of type Buffer
AbstractBufferDecorator(Buffer<E> buffer)
          Constructor that wraps (not copies).
BlockingBuffer(Buffer<E> buffer)
          Constructor that wraps (not copies).
PredicatedBuffer(Buffer<E> buffer, Predicate<? super E> predicate)
          Constructor that wraps (not copies).
SynchronizedBuffer(Buffer<E> buffer)
          Constructor that wraps (not copies).
SynchronizedBuffer(Buffer<E> buffer, Object lock)
          Constructor that wraps (not copies).
TransformedBuffer(Buffer<I> buffer, Transformer<? super I,? extends O> transformer)
          Constructor that wraps (not copies).
 



Copyright © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.