org.jrabbit.base.data.structures.base
Interface Remover<T>

Type Parameters:
T - The type of object to remove.
All Known Subinterfaces:
Container<T>, KeyedContainer<T>, Layer, LayeredRenderList
All Known Implementing Classes:
BaseKeyedContainer, BlendedLayer, Cache, DefaultLayer, DefaultLayeredRenderList, FontCache, GroupedCache, ImageCache, LockingList, OrderedKeyedContainer, ParticleSprite, ParticleSprite.Images, ParticleSprite.Transforming, SoundBoard

public interface Remover<T>

A Remover is a general-purpose interface for "removing" objects. It simply describes one method - a method to remove an object and return a flag if the operation succeeded.

Author:
Chris Molini

Method Summary
 void remove(T... objects)
          Removes a series of objects.
 boolean remove(T object)
          Removes an object.
 

Method Detail

remove

boolean remove(T object)
Removes an object.

Parameters:
object - The object to remove.
Returns:
True if the operation succeeded, false if not.

remove

void remove(T... objects)
Removes a series of objects.

Parameters:
objects - The objects to remove.