net.sourceforge.e4graph
Interface FloatVertex
- All Superinterfaces:
- Vertex
- public interface FloatVertex
- extends Vertex
The FloatVertex class provides the abstraction of a vertex
which stores a float value.
- Author:
- Ryan Shaw
Method Summary |
float |
getFloat()
Returns the single-precision floating-point value of this vertex. |
void |
setFloat(float value)
Sets the single-precision floating-point value of this vertex. |
Methods inherited from interface net.sourceforge.e4graph.Vertex |
close, delete, get, getIndex, getName, getNode, getStorage, getUniqueID, isClosed, set, setName |
getFloat
public float getFloat()
throws E4GraphException
- Returns the single-precision floating-point value of this vertex.
- Returns:
- the value of this vertex
- Throws:
E4GraphException
- if the vertex is closed
setFloat
public void setFloat(float value)
throws E4GraphException
- Sets the single-precision floating-point value of this vertex.
- Parameters:
value
- the new value of this vertex- Throws:
E4GraphException
- if the vertex is closed
Copyright (c) 2001, Silver Egg Technology Co., Ltd.