danger.content
Class FileSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet
          extended by danger.content.FileSet
All Implemented Interfaces:
Iterable, Collection, Set


public class FileSet
extends AbstractSet

Container for properties on multiple files. Returned from calls to ContentManager.getFiles(ContentFilter,int[]).


Method Summary
 void dump()
          Dump information about the files in this set.
 FilePropertySet getPropertySet(int objectID)
          Return a property set for the given object ID, or null if the object is not found in this set.
 FilePropertySet[] getPropertySets()
          Return the underlying array of property sets.
 Iterator<FilePropertySet> iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray
 

Method Detail

getPropertySets

public FilePropertySet[] getPropertySets()
Return the underlying array of property sets.


getPropertySet

public FilePropertySet getPropertySet(int objectID)
Return a property set for the given object ID, or null if the object is not found in this set.


dump

public void dump()
Dump information about the files in this set.


iterator

public Iterator<FilePropertySet> iterator()

size

public int size()