Evaluating Software Design Patterns
— the "Gang of Four" patterns implemented in Java 6

Uses of Class
dk.rode.thesis.interpreter.VariableExpression

Packages that use VariableExpression
dk.rode.thesis.builder Implementations and examples of the Builder design pattern [Gamma95, p.97]. 
dk.rode.thesis.interpreter Implementations and examples of the Interpreter design pattern [Gamma95, p.243]. 
 

Uses of VariableExpression in dk.rode.thesis.builder
 

Methods in dk.rode.thesis.builder that return VariableExpression
<V> VariableExpression<V>
ExpressionBuilder.buildVariableExpression(Class<V> type, String name)
          Builds a new VARIABLE expression.
<V> VariableExpression<V>
CountingExpressionBuilder.buildVariableExpression(Class<V> type, String name)
           
<V> VariableExpression<V>
AbstractExpressionBuilder.buildVariableExpression(Class<V> type, String name)
           
 

Methods in dk.rode.thesis.builder with parameters of type VariableExpression
 TypedExpression<E> TypedExpressionBuilder.buildAssignmentExpression(VariableExpression<E> variable, Expression<? extends E> expression)
           
 Expression<E> StandardExpressionBuilder.buildAssignmentExpression(VariableExpression<E> variable, Expression<? extends E> expression)
           
 Expression<E> ExpressionBuilder.buildAssignmentExpression(VariableExpression<E> variable, Expression<? extends E> expression)
          Builds a new ASSIGNMENT expression.
 Expression<E> CountingExpressionBuilder.buildAssignmentExpression(VariableExpression<E> variable, Expression<? extends E> expression)
           
 

Uses of VariableExpression in dk.rode.thesis.interpreter
 

Subclasses of VariableExpression in dk.rode.thesis.interpreter
 class ConstantExpression<E>
          A constant expression represents an expression that can be assigned a constant value.
 

Fields in dk.rode.thesis.interpreter declared as VariableExpression
private  VariableExpression<E> AssignmentExpression.variable
          The variable expression to be assigned the value of AssignmentExpression.expression.
 

Fields in dk.rode.thesis.interpreter with type parameters of type VariableExpression
private  Map<String,KeyValue<VariableExpression<?>,Object>> Context.values
          The map storing the values.
 

Methods in dk.rode.thesis.interpreter that return VariableExpression
 VariableExpression<E> VariableExpression.copy()
           
<E> VariableExpression<E>
Context.getVariable(Class<E> type, String name)
          Returns the variable or constant stored in this context associated with the type and name supplied as type and name, respectively.
 

Methods in dk.rode.thesis.interpreter that return types with arguments of type VariableExpression
 Set<VariableExpression<?>> Context.getVariables()
          Returns a set containing all the contained variables and constants stored in this context, in no particular order.
<E> Set<VariableExpression<E>>
Context.getVariables(Class<E> type)
          Returns a set containing all the contained variables and constants stored in this context, in no particular order, delivering the type of values supplied as type.
 Iterator<VariableExpression<?>> Context.iterator()
          Returns an iterator to iterate over all the contained variables and constants stored in this context, in no particular order.
 

Methods in dk.rode.thesis.interpreter with parameters of type VariableExpression
<E> E
Context.assign(VariableExpression<E> expression, E value)
          Assigns the value supplied as value to the variable expression supplied as expression.
 boolean Context.exist(VariableExpression<?> expression)
          Returns true if the variable expression supplied as expression has been registered or has an associated value in this context, false if not.
 boolean Context.hasValue(VariableExpression<?> expression)
          Returns true if the variable expression supplied as expression has an associated value in this context, false if not.
<E> E
Context.lookup(VariableExpression<E> expression)
          Returns the value currently associated with the variable expression supplied as expression.
 void Context.register(VariableExpression<?> expression)
          Registers the variable expression supplied as expression in this context with no associated value.
 

Constructors in dk.rode.thesis.interpreter with parameters of type VariableExpression
AssignmentExpression(VariableExpression<E> variable, Expression<? extends E> expression)
          Constructor.
VariableExpression(VariableExpression<E> expression)
          Copy constructor.
 


Gunni Rode / rode.dk

Feel free to use and/or modify the Java 6 source code developed for this thesis AT YOUR OWN RISK, but note that the source code comes WITHOUT ANY — and I do mean WITHOUT ANY — form of warranty WHAT SO EVER!

The original thesis and source code are available at rode.dk/thesis.