FreeHEP API
Version current

hep.io.root.core
Class SingleLeaf

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byhep.io.root.core.SingleLeaf
All Implemented Interfaces:
Collection, List, RootObject, TCollection, TObjArray, TObject, TSeqCollection

public class SingleLeaf
extends AbstractList
implements TObjArray

Version:
$Id: SingleLeaf.java,v 1.2 2003/04/24 19:36:20 tonyj Exp $
Author:
tonyj
Source Code:
SingleLeaf.java

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Fields inherited from interface hep.io.root.interfaces.TCollection
rootIOVersion
 
Constructor Summary
SingleLeaf(TLeaf leaf)
           
 
Method Summary
 Object get(int index)
           
 int getBits()
           
 Object getElementAt(int index)
           
 int getLast()
           
 int getLowerBound()
           
 String getName()
          name of the collection
 RootClass getRootClass()
          Get the class of this object
 int getSize()
          number of elements in collection
 String getTitle()
           
 int getUniqueID()
           
 int getUpperBound()
           
 int size()
           
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, 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.List
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray
 

Constructor Detail

SingleLeaf

public SingleLeaf(TLeaf leaf)
Method Detail

getBits

public int getBits()
Specified by:
getBits in interface TObject

getElementAt

public Object getElementAt(int index)
Specified by:
getElementAt in interface TCollection

getLast

public int getLast()
Specified by:
getLast in interface TCollection

getLowerBound

public int getLowerBound()
Specified by:
getLowerBound in interface TObjArray

getName

public String getName()
Description copied from interface: TCollection
name of the collection

Specified by:
getName in interface TCollection

getRootClass

public RootClass getRootClass()
Description copied from interface: RootObject
Get the class of this object

Specified by:
getRootClass in interface RootObject
Returns:
The RootClass for this object

getSize

public int getSize()
Description copied from interface: TCollection
number of elements in collection

Specified by:
getSize in interface TCollection

getTitle

public String getTitle()

getUniqueID

public int getUniqueID()
Specified by:
getUniqueID in interface TObject

getUpperBound

public int getUpperBound()
Specified by:
getUpperBound in interface TObjArray

get

public Object get(int index)
Specified by:
get in interface List

size

public int size()
Specified by:
size in interface List

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.