wtanaka.praya.gale
Class FragmentList
java.lang.Object
|
+--wtanaka.praya.gale.FragmentList
- public class FragmentList
- extends java.lang.Object
Represents a fragment list.
Return to
or the Praya Homepage
- Version:
- $Name: $ $Date: 2001/09/30 21:14:52 $
- Author:
- $Author: wtanaka $
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
m_fragmentList
private FragmentInterface[] m_fragmentList
FragmentList
public FragmentList()
- Convenience, no-arg constructor. Constructs an empty fragment
list. Equivalent to FragmentList (new FragmentInterface[0]).
FragmentList
public FragmentList(FragmentInterface[] fragmentList)
getNumFragments
public int getNumFragments()
getFragmentAt
public FragmentInterface getFragmentAt(int i)
unionWith
public FragmentList unionWith(FragmentInterface fragment)
find
public FragmentInterface find(java.lang.String fragmentName)
find
public FragmentInterface find(java.lang.String fragmentName,
boolean recurse)
- Parameters:
recurse - true causes this method to perform a bizarre DFS
of the fragment tree, treating each FragmentList as a node.
getStreamLength
public int getStreamLength()
write
public void write(GaleOutputStream out)
throws java.io.IOException
- Writes this fragment list to the output stream. Locks out with
synchronized (out).
- Parameters:
out - the stream on which to write.
toString
java.lang.String toString(int indentLevel)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object