Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.singularsys.jep
Class FunctionTable

    java.lang.Object
      com.singularsys.jep.FunctionTable

All Implemented Interfaces:
  JepComponent, java.io.Serializable

Direct Known Subclasses:
  BigDecFunctionTable, CaseInsensitiveFunctionTable, StandardFunctionTable

    public class FunctionTable

extends java.lang.Object
implements JepComponent

A table holding details of the functions know to Jep.

See Also:
  Serialized Form

Field Summary
`protected java.util.Map<java.lang.String,PostfixMathCommandI>` | `table`

Constructor Summary
`FunctionTable()`

Method Summary
`PostfixMathCommandI` | `addFunction(java.lang.String name, PostfixMathCommandI pfmc)`
`void` | `clear()`
`boolean` | `containsKey(java.lang.String key)`
`boolean` | `containsValue(PostfixMathCommandI value)`
`java.util.Set<java.util.Map.Entry<java.lang.String,PostfixMathCommandI>>` | `entrySet()`
`PostfixMathCommandI` | `getFunction(java.lang.String name)`
`void` | `init(Jep jep)` Initialize the component.
`boolean` | `isEmpty()`
`java.util.Set<java.lang.String>` | `keySet()`
`PostfixMathCommandI` | `remove(java.lang.String key)`
`int` | `size()`
`java.util.Collection<PostfixMathCommandI>` | `values()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### table

    protected java.util.Map<java.lang.String,PostfixMathCommandI> table

Constructor Detail

### FunctionTable

    public FunctionTable()

Method Detail

### init

    public void init(Jep jep)

  Description copied from interface: `JepComponent`
  Initialize the component. This methods is called whenever a component is added to Jep. Hence it allows components to keep track of the other components they may rely on.

  Specified by:
    `init` in interface `JepComponent`
  Parameters:
    `jep` - the current Jep instance

### getFunction

    public PostfixMathCommandI getFunction(java.lang.String name)

### addFunction

    public PostfixMathCommandI addFunction(java.lang.String name,
                                           PostfixMathCommandI pfmc)

### clear

    public void clear()

### entrySet

    public java.util.Set<java.util.Map.Entry<java.lang.String,PostfixMathCommandI>> entrySet()

### isEmpty

    public boolean isEmpty()

### keySet

    public java.util.Set<java.lang.String> keySet()

### size

    public int size()

### values

    public java.util.Collection<PostfixMathCommandI> values()

### containsKey

    public boolean containsKey(java.lang.String key)

### containsValue

    public boolean containsValue(PostfixMathCommandI value)

### remove

    public PostfixMathCommandI remove(java.lang.String key)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 Singular Systems http://www.singularsys.com/jep