Rev | Line | |
---|
[1449] | 1 | package de.ugoe.cs.autoquest.plugin.alignment.seqgen; |
---|
| 2 | |
---|
| 3 | import java.util.ArrayList; |
---|
| 4 | |
---|
| 5 | public class NumberSequence { |
---|
| 6 | private int[] sequence; |
---|
| 7 | private int signature; |
---|
| 8 | |
---|
| 9 | public NumberSequence(int size) { |
---|
| 10 | |
---|
| 11 | sequence = new int[size]; |
---|
| 12 | } |
---|
| 13 | |
---|
| 14 | public String toString() { |
---|
| 15 | return sequence.toString(); |
---|
| 16 | |
---|
| 17 | } |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | public int[] getSequence() { |
---|
| 22 | return sequence; |
---|
| 23 | } |
---|
| 24 | public void setSequence(int[] sequence) { |
---|
| 25 | this.sequence = sequence; |
---|
| 26 | } |
---|
| 27 | public int getSignature() { |
---|
| 28 | return signature; |
---|
| 29 | } |
---|
| 30 | public void setSignature(int signature) { |
---|
| 31 | this.signature = signature; |
---|
| 32 | } |
---|
| 33 | |
---|
| 34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.