|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
EqualFormula.java | - | 0% | 0% | 0% |
|
1 | /* $Id: EqualFormula.java,v 1.6 2007/05/10 00:37:52 m31 Exp $ | |
2 | * | |
3 | * This file is part of the project "Hilbert II" - http://www.qedeq.org | |
4 | * | |
5 | * Copyright 2000-2007, Michael Meyling <mime@qedeq.org>. | |
6 | * | |
7 | * "Hilbert II" is free software; you can redistribute | |
8 | * it and/or modify it under the terms of the GNU General Public | |
9 | * License as published by the Free Software Foundation; either | |
10 | * version 2 of the License, or (at your option) any later version. | |
11 | * | |
12 | * This program is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | * GNU General Public License for more details. | |
16 | */ | |
17 | ||
18 | package org.qedeq.kernel.bo.logic; | |
19 | ||
20 | import org.qedeq.kernel.base.list.Element; | |
21 | ||
22 | ||
23 | /** | |
24 | * Encapsulates a logical formula. | |
25 | * LATER mime 20050205: what for is this anyway??? | |
26 | * | |
27 | * @version $Revision: 1.6 $ | |
28 | * @author Michael Meyling | |
29 | */ | |
30 | final class EqualFormula { | |
31 | ||
32 | /** Element that defines the logical content. */ | |
33 | private final Element formula; | |
34 | ||
35 | ||
36 | /** | |
37 | * Constructor. | |
38 | * | |
39 | * @param formula Element that defines the logical content. | |
40 | */ | |
41 | 0 | EqualFormula(final Element formula) { |
42 | 0 | this.formula = formula; |
43 | } | |
44 | ||
45 | 0 | public String toString() { |
46 | 0 | return formula.toString(); |
47 | } | |
48 | ||
49 | } |
|