Hilbert II - JAVA-Packages - Principia Mathematica II

com.meyling.principia.module
Class Import

java.lang.Object
  extended bycom.meyling.principia.argument.AbstractArgument
      extended bycom.meyling.principia.argument.AbstractArgumentList
          extended bycom.meyling.principia.module.Import
All Implemented Interfaces:
Argument

public class Import
extends AbstractArgumentList
implements Argument

Describes an import of a module.

Version:
$Revision: 1.5 $
Author:
Michael Meyling

Constructor Summary
Import(Argument[] arguments)
          Constructs an import description.
 
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.AbstractArgumentList
copy, getArgument, getArgumentSize
 
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

Import

public Import(Argument[] arguments)
       throws ArgumentException
Constructs an import description.

Parameters:
arguments - list of arguments
Throws:
ArgumentException - if the argument list contains more than two or no entries or the arguments are not instances of Specification and Label (in this order).
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
Specified by:
create in class AbstractArgumentList
Throws:
ArgumentException

toString

public final String toString()
Description copied from interface: Argument
Get the argument in String form.

Specified by:
toString in interface Argument
Specified by:
toString in class AbstractArgumentList

Hilbert II - JAVA-Packages - Principia Mathematica II

©left GNU General Public Licence
All Rights Reserved.