org.millscript.millscript.functions
Class NewLinkedHashMapFunction

java.lang.Object
  extended by org.millscript.millscript.functions.Function
      extended by org.millscript.millscript.functions.NewLinkedHashMapFunction

public final class NewLinkedHashMapFunction
extends Function

This class implements the MillScript newLinkedHashMap function.


Constructor Summary
NewLinkedHashMapFunction()
           
 
Method Summary
 void apply(Machine mc, int nargs)
          Performs this function using the specified machine, with the specified number of arguments.
 org.millscript.commons.util.EMap newEmptyMap()
          Returns the new empty mutable map for this function.
 
Methods inherited from class org.millscript.millscript.functions.Function
applyUpdater, checkNargs, checkNargsGT, checkUNargs, getName, modName, reportNargsError, reportNargsGTError, setName, toString, tryClone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NewLinkedHashMapFunction

public NewLinkedHashMapFunction()
Method Detail

newEmptyMap

public org.millscript.commons.util.EMap newEmptyMap()
Returns the new empty mutable map for this function.

Returns:
a new empty mutable Map
See Also:
MapFunction.newEmptyMap()

apply

public void apply(Machine mc,
                  int nargs)
Description copied from class: Function
Performs this function using the specified machine, with the specified number of arguments.

Specified by:
apply in class Function
Parameters:
mc - the machine to perform this function on
nargs - the number of arguments the function is being invoked with
See Also:
Function.apply(org.millscript.millscript.vm.Machine, int)


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.