01: /*
02: * ====================================================================
03: * Copyright (c) 2004 Marc Strapetz, marc.strapetz@smartsvn.com.
04: * All rights reserved.
05: *
06: * This software is licensed as described in the file COPYING, which
07: * you should have received as part of this distribution. Use is
08: * subject to license terms.
09: * ====================================================================
10: */
11:
12: package de.regnis.q.sequence;
13:
14: /**
15: * @author Marc Strapetz
16: */
17: public class QSequenceSimpleLCSCommand {
18:
19: // Fields =================================================================
20:
21: private final boolean left;
22: private final int from;
23: private final int to;
24:
25: // Setup ==================================================================
26:
27: public QSequenceSimpleLCSCommand(boolean left, int from, int to) {
28: this .left = left;
29: this .from = from;
30: this .to = to;
31: }
32:
33: // Accessing ==============================================================
34:
35: public boolean isLeft() {
36: return left;
37: }
38:
39: public int getFrom() {
40: return from;
41: }
42:
43: public int getTo() {
44: return to;
45: }
46: }
|