hep.ilc.marlin.adapter.lcsim
Class LCCollectionImplementation

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<Object>
          extended by hep.ilc.marlin.adapter.lcsim.LCCollectionImplementation
All Implemented Interfaces:
Iterable<Object>, Collection<Object>, List<Object>

public class LCCollectionImplementation
extends AbstractList<Object>


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
LCCollectionImplementation(LCCollection c, String name, org.lcsim.event.EventHeader e)
           
 
Method Summary
 boolean add(Object o)
           
 boolean equals(Object o)
           
 Object get(int index)
           
 int hashCode()
           
 int size()
           
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, 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
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

LCCollectionImplementation

public LCCollectionImplementation(LCCollection c,
                                  String name,
                                  org.lcsim.event.EventHeader e)
Method Detail

get

public Object get(int index)
Specified by:
get in interface List<Object>
Specified by:
get in class AbstractList<Object>

size

public int size()
Specified by:
size in interface Collection<Object>
Specified by:
size in interface List<Object>
Specified by:
size in class AbstractCollection<Object>

add

public boolean add(Object o)
Specified by:
add in interface Collection<Object>
Specified by:
add in interface List<Object>
Overrides:
add in class AbstractList<Object>

equals

public boolean equals(Object o)
Specified by:
equals in interface Collection<Object>
Specified by:
equals in interface List<Object>
Overrides:
equals in class AbstractList<Object>

hashCode

public int hashCode()
Specified by:
hashCode in interface Collection<Object>
Specified by:
hashCode in interface List<Object>
Overrides:
hashCode in class AbstractList<Object>


Copyright © 2000-2007 FreeHEP. All Rights Reserved.