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 java.lang.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
 java.lang.Object get(java.lang.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 java.lang.Object get(java.lang.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)


Copyright � 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP