01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: package de.uka.ilkd.key.unittest.simplify.ast;
09:
10: import de.uka.ilkd.key.util.*;
11:
12: public class Conjunction extends Term {
13:
14: public Conjunction(ExtList subs) {
15: super ("AND", subs);
16: }
17:
18: public Equation[] getEquations() {
19: return (Equation[]) subs.collect(Equation.class);
20: }
21:
22: public Inequation[] getInequations() {
23: return (Inequation[]) subs.collect(Inequation.class);
24: }
25:
26: public Less[] getLess() {
27: return (Less[]) subs.collect(Less.class);
28: }
29:
30: public LessEq[] getLessEq() {
31: return (LessEq[]) subs.collect(LessEq.class);
32: }
33:
34: public void add(Term t) {
35: subs.add(t);
36: }
37:
38: public void removeLast() {
39: subs.removeLast();
40: }
41: }
|