~ubuntu-branches/ubuntu/oneiric/tuxguitar/oneiric

« back to all changes in this revision

Viewing changes to TuxGuitar-tef/src/org/herac/tuxguitar/io/tef/base/TERepeat.java

  • Committer: Bazaar Package Importer
  • Author(s): Philippe Coval
  • Date: 2008-06-19 00:30:30 UTC
  • mto: (5.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20080619003030-h719szrhsngou7c6
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.herac.tuxguitar.io.tef.base;
 
2
 
 
3
public class TERepeat {
 
4
        
 
5
        private int data1;
 
6
        
 
7
        private int data2;
 
8
        
 
9
        public TERepeat(int data1,int data2){
 
10
                this.data1 = data1;
 
11
                this.data2 = data2;
 
12
        }
 
13
        
 
14
        public int getData1() {
 
15
                return this.data1;
 
16
        }
 
17
        
 
18
        public int getData2() {
 
19
                return this.data2;
 
20
        }
 
21
        
 
22
        public String toString(){
 
23
                String string = new String("[REPEAT]     ");
 
24
                string += (this.getData1() + "-" + this.getData2());
 
25
                return string;
 
26
        }
 
27
}