crystalspace.jbind.interfaces.iengine.collectn
Interface iCollectionList

All Superinterfaces:
iBase, iPointer
All Known Implementing Classes:
csCollectionList

public interface iCollectionList
extends iBase

iCollection list.

Author:
Quentin Anciaux

Method Summary
 int add(iCollection obj)
          Add a collection.
 int find(iCollection obj)
          Find a collection and return its index.
 iCollection findByName(java.lang.String Name)
          Find a collection by name.
 iCollection get(int n)
          Return a collection by index.
 int getCount()
          Return the number of collections in this list.
 iCollection newCollection(java.lang.String name)
          Create a new collection.
 boolean remove(iCollection obj)
          Remove a collection.
 boolean remove(int n)
          Remove the nth collection.
 void removeAll()
          Remove all collections.
 
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe
 
Methods inherited from interface crystalspace.jbind.interfaces.iPointer
changePointer, getPointer, isMemoryOwner, setMemoryOwner
 

Method Detail

newCollection

public iCollection newCollection(java.lang.String name)
Create a new collection.

Parameters:
name -
Returns:

getCount

public int getCount()
Return the number of collections in this list.

Returns:

get

public iCollection get(int n)
Return a collection by index.

Parameters:
n -
Returns:

add

public int add(iCollection obj)
Add a collection.

Parameters:
obj -
Returns:

remove

public boolean remove(iCollection obj)
Remove a collection.

Parameters:
obj -
Returns:

remove

public boolean remove(int n)
Remove the nth collection.

Parameters:
n -
Returns:

removeAll

public void removeAll()
Remove all collections.


find

public int find(iCollection obj)
Find a collection and return its index.

Parameters:
obj -
Returns:

findByName

public iCollection findByName(java.lang.String Name)
Find a collection by name.

Parameters:
Name -
Returns: