FreeHEP API
Version current

hep.io.root.reps
Class TCollectionRep

java.lang.Object
  extended byhep.io.root.core.AbstractRootObject
      extended byhep.io.root.reps.TCollectionRep
All Implemented Interfaces:
RootObject, TCollection, TObject

public abstract class TCollectionRep
extends AbstractRootObject
implements TCollection

Version:
$Id: TCollectionRep.java,v 1.4 2004/06/28 15:21:24 tonyj Exp $
Author:
Tony Johnson (tonyj@slac.stanford.edu)
Source Code:
TCollectionRep.java

Field Summary
 
Fields inherited from interface hep.io.root.interfaces.TCollection
rootIOVersion
 
Constructor Summary
TCollectionRep()
           
 
Method Summary
 void add(int param, Object obj)
           
 boolean add(Object obj)
           
 boolean addAll(Collection collection)
           
 boolean addAll(int param, Collection collection)
           
 void clear()
           
 boolean contains(Object obj)
           
 boolean containsAll(Collection collection)
           
 Object get(int param)
           
 Object getElementAt(int index)
           
 int getLast()
           
 int indexOf(Object obj)
           
 boolean isEmpty()
           
 Iterator iterator()
           
 int lastIndexOf(Object obj)
           
 ListIterator listIterator()
           
 ListIterator listIterator(int start)
           
 void readMembers(RootInput in)
           
 Object remove(int param)
           
 boolean remove(Object obj)
           
 boolean removeAll(Collection collection)
           
 boolean retainAll(Collection collection)
           
 Object set(int index, Object obj)
           
 int size()
           
 List subList(int param, int param1)
           
 Object[] toArray()
           
 Object[] toArray(Object[] obj)
           
 
Methods inherited from class hep.io.root.core.AbstractRootObject
dump, getRootClass, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hep.io.root.interfaces.TCollection
getName, getSize
 
Methods inherited from interface hep.io.root.RootObject
getRootClass
 
Methods inherited from interface hep.io.root.interfaces.TObject
getBits, getUniqueID
 

Constructor Detail

TCollectionRep

public TCollectionRep()
Method Detail

getElementAt

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

isEmpty

public boolean isEmpty()

getLast

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

add

public void add(int param,
                Object obj)

add

public boolean add(Object obj)

addAll

public boolean addAll(Collection collection)

addAll

public boolean addAll(int param,
                      Collection collection)

clear

public void clear()

contains

public boolean contains(Object obj)

containsAll

public boolean containsAll(Collection collection)

get

public Object get(int param)

indexOf

public int indexOf(Object obj)

iterator

public Iterator iterator()

lastIndexOf

public int lastIndexOf(Object obj)

listIterator

public ListIterator listIterator(int start)

listIterator

public ListIterator listIterator()

readMembers

public void readMembers(RootInput in)
                 throws IOException
Overrides:
readMembers in class AbstractRootObject
Throws:
IOException

remove

public Object remove(int param)

remove

public boolean remove(Object obj)

removeAll

public boolean removeAll(Collection collection)

retainAll

public boolean retainAll(Collection collection)

set

public Object set(int index,
                  Object obj)

size

public int size()

subList

public List subList(int param,
                    int param1)

toArray

public Object[] toArray(Object[] obj)

toArray

public Object[] toArray()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.