Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.hp.hpl.jena.graph.query
Class FixedValuator

    java.lang.Object
      com.hp.hpl.jena.graph.query.FixedValuator

All Implemented Interfaces:
  Valuator

    public class FixedValuator

extends java.lang.Object
implements Valuator

A FixedValuator is a Valuator that delivers a constant value (supplied when it is constructed).

Author:
  hedgehog

Constructor Summary
`FixedValuator(java.lang.Object value)` Initialise this FixedValuator with a specific value

Method Summary
`boolean` | `evalBool(IndexValues iv)` Answer this FixedValuator's value, which must be a Boolean object, as a `boolean`.
`java.lang.Object` | `evalObject(IndexValues iv)` Answer this FixedValuator's value, as supplied when it was constructed.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FixedValuator

    public FixedValuator(java.lang.Object value)

  Initialise this FixedValuator with a specific value

Method Detail

### evalBool

    public boolean evalBool(IndexValues iv)

  Answer this FixedValuator's value, which must be a Boolean object, as a `boolean`. The index values are irrelevant.

  Specified by:
    `evalBool` in interface `Valuator`
  Parameters:
    `iv` - the mapping from variable (indexes) to values

### evalObject

    public java.lang.Object evalObject(IndexValues iv)

  Answer this FixedValuator's value, as supplied when it was constructed.

  Specified by:
    `evalObject` in interface `Valuator`
  Parameters:
    `iv` - the mapping from variable (indexes) to values

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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