JAL-3026 srcjar files for VARNA and log4j
[jalview.git] / srcjar / fr / orsay / lri / varna / models / rna / StructureTemp.java
1 package fr.orsay.lri.varna.models.rna;
2
3 import java.io.Serializable;
4 import java.util.ArrayList;
5 import java.util.Iterator;
6
7 public class StructureTemp  implements Serializable{
8         /**
9          * 
10          */
11         private static final long serialVersionUID = -436852923461989105L;
12         private ArrayList<ModeleStrand> _struct = new ArrayList<ModeleStrand>();
13         
14         public StructureTemp(){
15                 
16         }
17         
18         public void addStrand(ModeleStrand ms){
19                 this._struct.add(ms);
20                 
21         }
22         
23         public int sizeStruct() {
24                 return this._struct.size();
25         }
26         
27         public ModeleStrand getStrand(int a) {
28                 return this._struct.get(a);
29         }
30
31         public ArrayList<ModeleStrand> getListStrands() {
32                 return _struct;
33         }
34
35         public void clearListStrands() {
36                 this._struct.clear();
37         }
38         
39         public boolean isEmpty() {
40                 return this._struct.isEmpty();
41         }
42
43 }