com.hp.hpl.jena.graph.query
Class Expression.Valof

java.lang.Object
  extended by com.hp.hpl.jena.graph.query.Expression.Valof
All Implemented Interfaces:
VariableValues
Enclosing interface:
Expression

public static class Expression.Valof
extends Object
implements VariableValues

Valof provides an implementation of VariableValues which composes the "compile-time" VariableIndexes map with the "run-time" IndexValues map to produce a VariableValues map. A Valof has mutable state; the setDomain operation changes the IndexValues mapping of the Valof.

Author:
kers

Constructor Summary
Expression.Valof(VariableIndexes map)
           
 
Method Summary
 Object get(String name)
          Answer the value of the variable with the given name.
 Expression.Valof setDomain(IndexValues d)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Expression.Valof

public Expression.Valof(VariableIndexes map)
Method Detail

get

public final Object get(String name)
Description copied from interface: VariableValues
Answer the value of the variable with the given name. It is undefined what happens if no such name is defined.

Specified by:
get in interface VariableValues

setDomain

public final Expression.Valof setDomain(IndexValues d)


Licenced under the Apache License, Version 2.0