FreeHEP API
Version current

hep.io.root.core
Class HollowArray

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

public class HollowArray
extends AbstractList
implements TClonesArray

A HollowArray is used to represent a split TClonesArray. In Root 3.00 there was a special TBranchClones class to represent this, in later versions of Root this is just handled like everything else, by TBranchElement.

Source Code:
HollowArray.java

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Fields inherited from interface hep.io.root.interfaces.TCollection
rootIOVersion
 
Method Summary
 Object get(int cloneIndex)
           
 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
 

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()
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 cloneIndex)
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.