opennlp.grok.expression
Class NullArg

java.lang.Object
  |
  +--opennlp.grok.expression.NullArg
All Implemented Interfaces:
Arg, opennlp.common.unify.Mutable, opennlp.common.unify.Unifiable, opennlp.common.unify.Variable

public final class NullArg
extends java.lang.Object
implements Arg, opennlp.common.unify.Variable

An null argument.

Version:
$Revision: 1.3 $, $Date: 2002/11/21 18:03:12 $
Author:
Jason Baldridge

Constructor Summary
NullArg()
           
 
Method Summary
 Arg copy()
           
 void deepMap(opennlp.common.unify.ModFcn mf)
           
 boolean equals(java.lang.Object o)
           
 java.lang.Object fill(opennlp.common.unify.Substitution sub)
           
 void forall(opennlp.common.synsem.CategoryFcn fcn)
           
 java.lang.String hashString(java.util.Map varMap)
          Returns a hash string using the given map from vars to int strings.
 java.lang.String name()
           
 boolean occurs(opennlp.common.unify.Variable v)
           
 java.lang.String toString()
           
 java.lang.Object unify(java.lang.Object u, opennlp.common.unify.Substitution sub)
           
 void unifyCheck(java.lang.Object u)
           
 void unifySlash(Slash s)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullArg

public NullArg()
Method Detail

name

public java.lang.String name()
Specified by:
name in interface opennlp.common.unify.Variable

copy

public Arg copy()
Specified by:
copy in interface Arg

forall

public void forall(opennlp.common.synsem.CategoryFcn fcn)
Specified by:
forall in interface Arg

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface opennlp.common.unify.Unifiable
Overrides:
equals in class java.lang.Object

occurs

public boolean occurs(opennlp.common.unify.Variable v)
Specified by:
occurs in interface opennlp.common.unify.Unifiable

fill

public java.lang.Object fill(opennlp.common.unify.Substitution sub)
                      throws opennlp.common.unify.UnifyFailure
Specified by:
fill in interface opennlp.common.unify.Unifiable
opennlp.common.unify.UnifyFailure

unifySlash

public void unifySlash(Slash s)
                throws opennlp.common.unify.UnifyFailure
Specified by:
unifySlash in interface Arg
opennlp.common.unify.UnifyFailure

unifyCheck

public void unifyCheck(java.lang.Object u)
                throws opennlp.common.unify.UnifyFailure
Specified by:
unifyCheck in interface opennlp.common.unify.Unifiable
opennlp.common.unify.UnifyFailure

unify

public java.lang.Object unify(java.lang.Object u,
                              opennlp.common.unify.Substitution sub)
                       throws opennlp.common.unify.UnifyFailure
Specified by:
unify in interface opennlp.common.unify.Unifiable
opennlp.common.unify.UnifyFailure

deepMap

public void deepMap(opennlp.common.unify.ModFcn mf)
Specified by:
deepMap in interface opennlp.common.unify.Mutable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashString

public java.lang.String hashString(java.util.Map varMap)
Returns a hash string using the given map from vars to int strings.

Specified by:
hashString in interface Arg


Copyright © 2003 Jason Baldridge and Gann Bierner. All Rights Reserved.