All Packages  This Package  Class Hierarchy  Class Search  Index

Class graphomat.util.LazyDouble
java.lang.Object
   |
   +----graphomat.util.LazyDouble

  Summary

public abstract class  LazyDouble
     extends java.lang.Object
     implements java.io.Serializable
{
          // Constructors 1
     public LazyDouble();

          // Methods 4
     public double getValue();
     public void invalidate();
     public abstract void recalculate();
     public void setValue(double);
}


  Cross Reference

Extended By:
Edge





  Constructors

· LazyDouble

Summary  |  Top
   public LazyDouble() 

Default constructor



  Methods

· setValue

Summary  |  Top
   public void setValue(double value) 

Stores a double value and makes the value accessible (valid).



· recalculate

Summary  |  Top
   public abstract void recalculate() 

This method needs to be extended by a subclass. It will be called if a recalculation of the stored value is needed.



· invalidate

Summary  |  Top
   public void invalidate() 

Forces to call recalculate before the value can be acessed.



· getValue

Summary  |  Top
   public double getValue() 

Returns the current value, calls recalculate if it's invalide.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7