org.gcube.portlets.d4sreporting.common.shared
Class MasterSequenceList

java.lang.Object
  extended by org.gcube.portlets.d4sreporting.common.shared.MasterSequenceList
All Implemented Interfaces:
Serializable

public class MasterSequenceList
extends Object
implements Serializable

Author:
Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it Groups a list of MasterSequence instances
See Also:
Serialized Form

Constructor Summary
MasterSequenceList()
           
MasterSequenceList(ArrayList<MasterSequence> sequences)
           
 
Method Summary
 void addSequence(MasterSequence toAdd)
           
 void clear()
           
 MasterSequence get(int index)
           
 ArrayList<MasterSequence> getSequences()
           
 MasterSequence remove(String key)
          remove the MasterSequence having key as key
 void setSequences(ArrayList<MasterSequence> sequences)
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MasterSequenceList

public MasterSequenceList()

MasterSequenceList

public MasterSequenceList(ArrayList<MasterSequence> sequences)
Method Detail

getSequences

public ArrayList<MasterSequence> getSequences()

setSequences

public void setSequences(ArrayList<MasterSequence> sequences)

addSequence

public void addSequence(MasterSequence toAdd)

clear

public void clear()

get

public MasterSequence get(int index)

size

public int size()

remove

public MasterSequence remove(String key)
remove the MasterSequence having key as key

Parameters:
key - to look for
Returns:
the removed MasterSequence or null if not found

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.