FreeHEP API
Version current

hep.io.root.reps
Class TListRep

java.lang.Object
  extended byhep.io.root.core.AbstractRootObject
      extended byhep.io.root.reps.TListRep
All Implemented Interfaces:
Collection, List, RootObject, TCollection, TList, TObject, TSeqCollection

public abstract class TListRep
extends AbstractRootObject
implements TList

Version:
$Id: TListRep.java,v 1.3 2003/05/23 20:59:15 duns Exp $
Author:
Tony Johnson (tonyj@slac.stanford.edu)
Source Code:
TListRep.java

Field Summary
 
Fields inherited from interface hep.io.root.interfaces.TList
rootCheckSum, rootIOVersion
 
Constructor Summary
TListRep()
           
 
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)
           
 int getBits()
           
 String getName()
          name of the collection
 int getSize()
          number of elements in collection
 int getUniqueID()
           
 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 param, 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.RootObject
getRootClass
 
Methods inherited from interface hep.io.root.interfaces.TCollection
getElementAt, getLast
 
Methods inherited from interface java.util.List
equals, hashCode
 

Constructor Detail

TListRep

public TListRep()
Method Detail

getBits

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

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface List

getName

public String getName()
name of the collection

Specified by:
getName in interface TCollection

getSize

public int getSize()
number of elements in collection

Specified by:
getSize in interface TCollection

getUniqueID

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

add

public void add(int param,
                Object obj)
Specified by:
add in interface List

add

public boolean add(Object obj)
Specified by:
add in interface List

addAll

public boolean addAll(Collection collection)
Specified by:
addAll in interface List

addAll

public boolean addAll(int param,
                      Collection collection)
Specified by:
addAll in interface List

clear

public void clear()
Specified by:
clear in interface List

contains

public boolean contains(Object obj)
Specified by:
contains in interface List

containsAll

public boolean containsAll(Collection collection)
Specified by:
containsAll in interface List

get

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

indexOf

public int indexOf(Object obj)
Specified by:
indexOf in interface List

iterator

public Iterator iterator()
Specified by:
iterator in interface List

lastIndexOf

public int lastIndexOf(Object obj)
Specified by:
lastIndexOf in interface List

listIterator

public ListIterator listIterator(int start)
Specified by:
listIterator in interface List

listIterator

public ListIterator listIterator()
Specified by:
listIterator in interface List

readMembers

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

remove

public Object remove(int param)
Specified by:
remove in interface List

remove

public boolean remove(Object obj)
Specified by:
remove in interface List

removeAll

public boolean removeAll(Collection collection)
Specified by:
removeAll in interface List

retainAll

public boolean retainAll(Collection collection)
Specified by:
retainAll in interface List

set

public Object set(int param,
                  Object obj)
Specified by:
set in interface List

size

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

subList

public List subList(int param,
                    int param1)
Specified by:
subList in interface List

toArray

public Object[] toArray(Object[] obj)
Specified by:
toArray in interface List

toArray

public Object[] toArray()
Specified by:
toArray in interface List

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.