PMII - JAVA-Packages - Principia Mathematica II

com.meyling.principia.logic.paragraph
Class ProofLineList

java.lang.Object
  |
  +--com.meyling.principia.argument.AbstractArgument
        |
        +--com.meyling.principia.argument.AbstractDynamicArgumentList
              |
              +--com.meyling.principia.logic.paragraph.ProofLineList
All Implemented Interfaces:
Argument

public class ProofLineList
extends AbstractDynamicArgumentList
implements Argument

List of proof lines.

Version:
$Revision: 1.2 $
Author:
Michael Meyling

Constructor Summary
ProofLineList(Argument[] arguments)
          Constructs a list of proof lines.
 
Method Summary
 Argument create(Argument[] arguments)
          Create a new Argument with given arguments.
 String toString()
          Get the argument in String form.
 
Methods inherited from class com.meyling.principia.argument.AbstractDynamicArgumentList
add, copy, getArgument, getArgumentSize, insert, remove, replace
 
Methods inherited from class com.meyling.principia.argument.AbstractArgument
containsPatternVariables, equals, getHighestNumber, getPatternVariables, getReplacementParents, getSearchParents, hashCode, matches, matches, replace, replace, replace, replaceMatches
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.meyling.principia.argument.Argument
containsPatternVariables, copy, equals, getArgument, getArgumentSize, getPatternVariables, getReplacementParents, getSearchParents, hashCode, matches, matches, replace, replace, replace, replaceMatches
 

Constructor Detail

ProofLineList

public ProofLineList(Argument[] arguments)
              throws ArgumentException
Constructs a list of proof lines.
Parameters:
arguments - list of proof lines
Throws:
ArgumentException - if there is any argument that is not an instance of ProofLine
Method Detail

create

public final Argument create(Argument[] arguments)
                      throws ArgumentException
Description copied from interface: Argument
Create a new Argument with given arguments.
Specified by:
create in interface Argument
Overrides:
create in class AbstractDynamicArgumentList
Following copied from interface: com.meyling.principia.argument.Argument
Parameters:
arguments - with these arguments the operator should be created
Returns:
new constructed Argument
Throws:
ArgumentException - if creation failed

toString

public final String toString()
Description copied from interface: Argument
Get the argument in String form.
Specified by:
toString in interface Argument
Overrides:
toString in class AbstractDynamicArgumentList
Following copied from interface: com.meyling.principia.argument.Argument
Returns:
readable formula

PMII - JAVA-Packages - Principia Mathematica II

©left GNU General Public Licence
All Rights Reserved.