rac.visitor
Class IsEmpty<T>

java.lang.Object
  extended by rac.visitor.IsEmpty<T>
All Implemented Interfaces:
IRACVisitor<T,java.lang.Boolean,java.lang.Void>

public class IsEmpty<T>
extends java.lang.Object
implements IRACVisitor<T,java.lang.Boolean,java.lang.Void>

Visitor that returns true if the RAC is empty.


Constructor Summary
IsEmpty()
           
 
Method Summary
 java.lang.Boolean emptyCase(IRAContainer<T> host, java.lang.Void... inp)
           
 java.lang.Boolean nonEmptyCase(IRAContainer<T> host, java.lang.Void... inp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsEmpty

public IsEmpty()
Method Detail

emptyCase

public java.lang.Boolean emptyCase(IRAContainer<T> host,
                                   java.lang.Void... inp)
Specified by:
emptyCase in interface IRACVisitor<T,java.lang.Boolean,java.lang.Void>

nonEmptyCase

public java.lang.Boolean nonEmptyCase(IRAContainer<T> host,
                                      java.lang.Void... inp)
Specified by:
nonEmptyCase in interface IRACVisitor<T,java.lang.Boolean,java.lang.Void>