|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.Value
public abstract class Value
A value contains a key and a description. The current value can be asked by the experiment log operator.
| Field Summary | |
|---|---|
private java.lang.String |
description
The human readable description of this value. |
private boolean |
documented
Indicates if this value should be documented. |
private java.lang.String |
key
The key which can be asked by the experiment log operator. |
| Constructor Summary | |
|---|---|
Value(java.lang.String key,
java.lang.String description)
Creates a new Value object with the given key as name and the given description. |
|
Value(java.lang.String key,
java.lang.String description,
boolean documented)
Creates a new Value object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns a human readable description. |
java.lang.String |
getKey()
Returns the key. |
abstract double |
getValue()
Returns the current value which can be logged by the experiment log operator. |
boolean |
isDocumented()
Returns true if this value should be documented. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String key
private java.lang.String description
private boolean documented
| Constructor Detail |
|---|
public Value(java.lang.String key,
java.lang.String description)
public Value(java.lang.String key,
java.lang.String description,
boolean documented)
| Method Detail |
|---|
public java.lang.String getDescription()
getDescription in interface ValueInterfacepublic java.lang.String getKey()
getKey in interface ValueInterfacepublic boolean isDocumented()
isDocumented in interface ValueInterfacepublic abstract double getValue()
getValue in interface ValueInterface
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||