pl.edu.pjwstk.yaod.atoms
Class DoubleAtom

java.lang.Object
  |
  +--pl.edu.pjwstk.yaod.atoms.Atom
        |
        +--pl.edu.pjwstk.yaod.atoms.DoubleAtom
All Implemented Interfaces:
Bufferable, java.io.Serializable
Direct Known Subclasses:
JavaDoubleAtom

public class DoubleAtom
extends Atom

Klasa reprezentujaca atom zawierajacy wartosc typu double.

Author:
M. Lentner, raist@ertel.com.pl
See Also:
Serialized Form

Fields inherited from class pl.edu.pjwstk.yaod.atoms.Atom
ALL_TYPES
 
Constructor Summary
DoubleAtom(java.lang.String name, double val)
          Tworzy nowy atom zawierajacy wartosc typu double.
 
Method Summary
 double getValue()
          Zwraca wartosc atomu.
 void setValue(double newVal)
          Ustala wartosc atomu.
 
Methods inherited from class pl.edu.pjwstk.yaod.atoms.Atom
getAID, getName, getNext, getOwner, getPrevious, getType, isModified, setAID, setModified, setName, setNext, setOwner, setPrevious
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleAtom

public DoubleAtom(java.lang.String name,
                  double val)
Tworzy nowy atom zawierajacy wartosc typu double.
Parameters:
name - nazwa atomu.
val - wartosc atomu.
Method Detail

getValue

public double getValue()
Zwraca wartosc atomu.
Returns:
wartosc atomu.

setValue

public void setValue(double newVal)
Ustala wartosc atomu.
Parameters:
newVal - nowa wartosc atomu.