Version: 1.1.1

org.inb.biomoby.shared.message
Class MobyCollection<MobySimple>

java.lang.Object
  extended by org.inb.biomoby.shared.message.AbstractMobyElement
      extended by org.inb.biomoby.shared.message.MobyDataElement
          extended by org.inb.biomoby.shared.message.MobyCollection<MobySimple>
All Implemented Interfaces:
Serializable, Iterable<MobySimple>, Collection<MobySimple>, List<MobySimple>

public class MobyCollection<MobySimple>
extends MobyDataElement
implements List<MobySimple>, Serializable

Author:
Dmitry Repchevsky
See Also:
Serialized Form

Constructor Summary
MobyCollection()
           
 
Method Summary
 void add(int index, MobySimple mobySimple)
           
 boolean add(MobySimple mobySimple)
           
 boolean addAll(Collection<? extends MobySimple> c)
           
 boolean addAll(int index, Collection<? extends MobySimple> c)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean containsAll(Collection<?> c)
           
 MobySimple get(int index)
           
 int indexOf(Object o)
           
 boolean isEmpty()
           
 Iterator<MobySimple> iterator()
           
 int lastIndexOf(Object o)
           
 ListIterator<MobySimple> listIterator()
           
 ListIterator<MobySimple> listIterator(int index)
           
 MobySimple remove(int index)
           
 boolean remove(Object o)
           
 boolean removeAll(Collection<?> c)
           
 boolean retainAll(Collection<?> c)
           
 MobySimple set(int index, MobySimple mobySimple)
           
 int size()
           
 List<MobySimple> subList(int fromIndex, int toIndex)
           
 Object[] toArray()
           
<T> T[]
toArray(T[] a)
           
 
Methods inherited from class org.inb.biomoby.shared.message.AbstractMobyElement
getArticleName, setArticleName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.List
equals, hashCode
 

Constructor Detail

MobyCollection

public MobyCollection()
Method Detail

size

public int size()
Specified by:
size in interface Collection<MobySimple>
Specified by:
size in interface List<MobySimple>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection<MobySimple>
Specified by:
isEmpty in interface List<MobySimple>

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection<MobySimple>
Specified by:
contains in interface List<MobySimple>

iterator

public Iterator<MobySimple> iterator()
Specified by:
iterator in interface Iterable<MobySimple>
Specified by:
iterator in interface Collection<MobySimple>
Specified by:
iterator in interface List<MobySimple>

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection<MobySimple>
Specified by:
toArray in interface List<MobySimple>

toArray

public <T> T[] toArray(T[] a)
Specified by:
toArray in interface Collection<MobySimple>
Specified by:
toArray in interface List<MobySimple>

add

public boolean add(MobySimple mobySimple)
Specified by:
add in interface Collection<MobySimple>
Specified by:
add in interface List<MobySimple>

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection<MobySimple>
Specified by:
remove in interface List<MobySimple>

containsAll

public boolean containsAll(Collection<?> c)
Specified by:
containsAll in interface Collection<MobySimple>
Specified by:
containsAll in interface List<MobySimple>

addAll

public boolean addAll(Collection<? extends MobySimple> c)
Specified by:
addAll in interface Collection<MobySimple>
Specified by:
addAll in interface List<MobySimple>

addAll

public boolean addAll(int index,
                      Collection<? extends MobySimple> c)
Specified by:
addAll in interface List<MobySimple>

removeAll

public boolean removeAll(Collection<?> c)
Specified by:
removeAll in interface Collection<MobySimple>
Specified by:
removeAll in interface List<MobySimple>

retainAll

public boolean retainAll(Collection<?> c)
Specified by:
retainAll in interface Collection<MobySimple>
Specified by:
retainAll in interface List<MobySimple>

clear

public void clear()
Specified by:
clear in interface Collection<MobySimple>
Specified by:
clear in interface List<MobySimple>

get

public MobySimple get(int index)
Specified by:
get in interface List<MobySimple>

set

public MobySimple set(int index,
                      MobySimple mobySimple)
Specified by:
set in interface List<MobySimple>

add

public void add(int index,
                MobySimple mobySimple)
Specified by:
add in interface List<MobySimple>

remove

public MobySimple remove(int index)
Specified by:
remove in interface List<MobySimple>

indexOf

public int indexOf(Object o)
Specified by:
indexOf in interface List<MobySimple>

lastIndexOf

public int lastIndexOf(Object o)
Specified by:
lastIndexOf in interface List<MobySimple>

listIterator

public ListIterator<MobySimple> listIterator()
Specified by:
listIterator in interface List<MobySimple>

listIterator

public ListIterator<MobySimple> listIterator(int index)
Specified by:
listIterator in interface List<MobySimple>

subList

public List<MobySimple> subList(int fromIndex,
                                int toIndex)
Specified by:
subList in interface List<MobySimple>

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010