Hilbert II - JAVA-Packages - Principia Mathematica II

com.meyling.principia.module
Class LocationList

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

public class LocationList
extends AbstractDynamicArgumentList
implements Argument

List of locations where a module could be found.

Version:
$Revision: 1.6 $
Author:
Michael Meyling

Constructor Summary
LocationList(Argument[] arguments)
          Constructs a list of locations.
 
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

LocationList

public LocationList(Argument[] arguments)
             throws ArgumentException
Constructs a list of locations.

Parameters:
arguments - list of locations
Throws:
ArgumentException - if there is any argument that is not an instance of Location or there isn't at least one entry.
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 AbstractDynamicArgumentList
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 AbstractDynamicArgumentList

Hilbert II - JAVA-Packages - Principia Mathematica II

©left GNU General Public Licence
All Rights Reserved.