Class Portfolio

  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Asset>
              extended by org.opensha.sra.asset.Portfolio
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Asset>, Collection<Asset>, List<Asset>, RandomAccess, Named

public class Portfolio
extends ArrayList<Asset>
implements Named

A Portfolio represents a collecion of Assets.

$Id: 7863 2011-05-23 20:41:47Z kmilner $
Peter Powers
See Also:
Serialized Form

Field Summary
Fields inherited from class java.util.AbstractList
Constructor Summary
Portfolio(String name)
          Creates a new Portfolio with the given name.
Method Summary
 String getName()
          Returns the name of this object
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList

Constructor Detail


public Portfolio(String name)
Creates a new Portfolio with the given name.

name - the name of the Portfolio
Method Detail


public String getName()
Description copied from interface: Named
Returns the name of this object

Specified by:
getName in interface Named