JML

org.multijava.launcher
Class Launcher.ToolIteratorPair

java.lang.Object
  extended byorg.multijava.launcher.Launcher.ToolIteratorPair
All Implemented Interfaces:
Map.Entry
Enclosing class:
Launcher

protected static class Launcher.ToolIteratorPair
extends Object
implements Map.Entry

Collects the name of the tool and the launcher of the tool into a mapping that can be accessed by outside classes because of the common interface


Field Summary
(package private)  AbstractLaunchTool launcher
           
(package private)  String toolName
           
 
Constructor Summary
Launcher.ToolIteratorPair(String toolName, AbstractLaunchTool launcher)
          Constructor
 
Method Summary
 Object getKey()
          Returns the key for this pair
 Object getValue()
          Returns the value for this pair
 Object setValue(Object value)
          Replaces the old value with the new value and returns this new value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Field Detail

toolName

String toolName

launcher

AbstractLaunchTool launcher
Constructor Detail

Launcher.ToolIteratorPair

public Launcher.ToolIteratorPair(String toolName,
                                 AbstractLaunchTool launcher)
Constructor

Method Detail

getKey

public Object getKey()
Returns the key for this pair

Specified by:
getKey in interface Map.Entry

getValue

public Object getValue()
Returns the value for this pair

Specified by:
getValue in interface Map.Entry

setValue

public Object setValue(Object value)
Replaces the old value with the new value and returns this new value

Specified by:
setValue in interface Map.Entry

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.