de.regnis.q.sequence.QSequenceSimpleLCSCommand Maven / Gradle / Ivy
The newest version!
/*
* ====================================================================
* Copyright (c) 2004 Marc Strapetz, [email protected].
* All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. Use is
* subject to license terms.
* ====================================================================
*/
package de.regnis.q.sequence;
/**
* @author Marc Strapetz
*/
public class QSequenceSimpleLCSCommand {
// Fields =================================================================
private final boolean left;
private final int from;
private final int to;
// Setup ==================================================================
public QSequenceSimpleLCSCommand(boolean left, int from, int to) {
this.left = left;
this.from = from;
this.to = to;
}
// Accessing ==============================================================
public boolean isLeft() {
return left;
}
public int getFrom() {
return from;
}
public int getTo() {
return to;
}
}