|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.util.AbstractCollection
public abstract class AbstractCollection
Provides base functionality for collections in the game framework.
Constructor Summary | |
---|---|
AbstractCollection()
|
Method Summary | |
---|---|
boolean |
addAll(Collection objects)
Adds all of the objects in the given collection to this collection. |
boolean |
containsAll(Collection objects)
Returns true if this collection contains all of the objects in the given collection. |
protected abstract Class |
getType()
Return the type this collection holds. |
boolean |
removeAll(Collection objects)
Removes all this collection's objects that are also contained in the given collection. |
boolean |
retainAll(Collection objects)
Retains only the objects in this collection that are contained in the given collection. |
Object[] |
toArray()
Returns an array containing all of the objects in this collection. |
Object[] |
toArray(Object[] array)
Returns an array containing all of the objects in this collection; the runtime type of the returned array is that of the given array. |
String |
toString()
Return a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Collection |
---|
add, clear, contains, equals, hashCode, isEmpty, iterator, remove, size |
Constructor Detail |
---|
public AbstractCollection()
Method Detail |
---|
public boolean addAll(Collection objects)
addAll
in interface Collection
objects
- The collection of objects to add.public boolean containsAll(Collection objects)
containsAll
in interface Collection
public boolean removeAll(Collection objects)
removeAll
in interface Collection
public boolean retainAll(Collection objects)
retainAll
in interface Collection
public Object[] toArray()
toArray
in interface Collection
public Object[] toArray(Object[] array)
toArray
in interface Collection
public String toString()
toString
in interface ICollection
toString
in class Object
protected abstract Class getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |