net.spy.digg.parsers
Class TopicContainerImpl

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Topic>
              extended by net.spy.digg.parsers.TopicContainerImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Topic>, java.util.Collection<Topic>, java.util.List<Topic>, java.util.RandomAccess, TopicContainer

public class TopicContainerImpl
extends java.util.ArrayList<Topic>
implements TopicContainer, java.io.Serializable

A TopicContainer contains topics.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
TopicContainerImpl(java.lang.String n, java.lang.String sn)
          Construct a TopicContainer with the given name and short name.
 
Method Summary
 java.lang.String getName()
          Get the name of this topic container.
 java.lang.String getShortName()
          Get the short name of this topic container.
 
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.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

TopicContainerImpl

public TopicContainerImpl(java.lang.String n,
                          java.lang.String sn)
Construct a TopicContainer with the given name and short name.

Method Detail

getName

public java.lang.String getName()
Description copied from interface: TopicContainer
Get the name of this topic container.

Specified by:
getName in interface TopicContainer

getShortName

public java.lang.String getShortName()
Description copied from interface: TopicContainer
Get the short name of this topic container.

Specified by:
getShortName in interface TopicContainer