Forge - Parent 2.0.0-SNAPSHOT

org.jboss.forge.container.util
Class ValuedVisitor<VALUETYPE,INPUTTYPE>

java.lang.Object
  extended by org.jboss.forge.container.util.ValuedVisitor<VALUETYPE,INPUTTYPE>
Type Parameters:
INPUTTYPE - the instance type.
VALUETYPE - the result value type.
All Implemented Interfaces:
Visitor<INPUTTYPE>

public abstract class ValuedVisitor<VALUETYPE,INPUTTYPE>
extends Object
implements Visitor<INPUTTYPE>

Author:
Lincoln Baxter, III

Constructor Summary
ValuedVisitor()
           
 
Method Summary
 VALUETYPE getResult()
          Get the result value.
 boolean hasResult()
          Return true if the getResult() is not null.
protected  void setResult(VALUETYPE result)
          Set the result value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.forge.container.util.Visitor
visit
 

Constructor Detail

ValuedVisitor

public ValuedVisitor()
Method Detail

getResult

public VALUETYPE getResult()
Get the result value.


setResult

protected void setResult(VALUETYPE result)
Set the result value.


hasResult

public boolean hasResult()
Return true if the getResult() is not null.


Forge - Parent 2.0.0-SNAPSHOT

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.