exp
Class DoubleSexp
java.lang.Object
|
+--exp.Sexp
|
+--exp.AtomSexp
|
+--exp.NumSexp
|
+--exp.DoubleSexp
- public class DoubleSexp
- extends NumSexp
DoubleSexp
Classe per i numeri reali (double)
- Version:
- 7/12/1999
- Author:
- Marco Chiesi
| Methods inherited from class exp.Sexp |
accept2,
append,
assoc,
atom,
caar,
cadr,
car,
cdar,
cddr,
cdr,
cons,
dup,
eq,
isAnAtom,
isAtom,
isEq,
isList,
isNull,
isPair,
length,
list1,
list2,
list3,
list4,
list5,
listArray,
member,
pairList,
selfEvaluating,
toString |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
DoubleSexp
public DoubleSexp(java.lang.Double v)
- Costruttori
DoubleSexp
public DoubleSexp(double v)
getVal
public double getVal()
- Selettori del valore
- Overrides:
- getVal in class NumSexp
getValInt
public int getValInt()
- Overrides:
- getValInt in class NumSexp
getValDouble
public double getValDouble()
- Overrides:
- getValDouble in class NumSexp
applyOperator
public Sexp applyOperator(NumSexp v,
java.lang.String op)
- Applicazione di un operazione
- Overrides:
- applyOperator in class NumSexp
toString
public java.lang.String toString()
- Implementazione dei metodi di Sexp
- Overrides:
- toString in class java.lang.Object
toSimpleString
public java.lang.String toSimpleString()
- Description copied from class: Sexp
- Conversione a stringa
- Overrides:
- toSimpleString in class Sexp