2
* Created on 05-dic-2005
4
* TODO To change the template for this generated file go to
5
* Window - Preferences - Java - Code Style - Code Templates
7
package org.herac.tuxguitar.song.models;
9
import java.io.Serializable;
14
* TODO To change the template for this generated type comment go to
15
* Window - Preferences - Java - Code Style - Code Templates
17
public class Tupleto implements Serializable{
19
* Cantidad de Duraciones que entran en los tiempos
27
public Tupleto(int enters,int times){
33
public int getEnters() {
36
public void setEnters(int enters) {
39
public int getTimes() {
42
public void setTimes(int times) {
46
public long convertTime(long time){
47
return time * times / enters;
50
public boolean isEqual(Tupleto tupleto){
51
return (tupleto.getEnters() == getEnters() && tupleto.getTimes() == getTimes());
54
public Object clone(){
55
return new Tupleto(this.enters,this.times);