All Packages Class Hierarchy This Package Previous Next Index
Class simple.StorableValue
java.lang.Object
|
+----simple.Domain
|
+----simple.Num
|
+----simple.StorableValue
- public class StorableValue
- extends Num
Formal Semantics of Programming Languages
SS 99
1. Exercise
Class represents domain Storable-value.
Domain Storable-value represents values,
that can be stored in computer store.
Would have same "level" as Num, but because of function reuse
I derived it from Num. Several mapping constructors are implemented.
- Version:
- 1.0 (JDK 1.1.7)
- Author:
- Jürgen Hartl, 9756179 / 881
-
StorableValue(ConstantValue)
-
-
StorableValue(long)
-
-
StorableValue(Num)
-
-
toString()
-
StorableValue
public StorableValue(long value)
StorableValue
public StorableValue(Num n)
StorableValue
public StorableValue(ConstantValue cval)
toString
public String toString()
- Overrides:
- toString in class Num
All Packages Class Hierarchy This Package Previous Next Index