Save This Page
Home » mahout-collections-1.0-src » org.apache.mahout.math.buffer » [javadoc | source]
org.apache.mahout.math.buffer
public class: DoubleBuffer3D [javadoc | source]
java.lang.Object
   org.apache.mahout.math.PersistentObject
      org.apache.mahout.math.buffer.DoubleBuffer3D

All Implemented Interfaces:
    DoubleBuffer3DConsumer, Cloneable, Serializable

Deprecated! until - unit tests are in place. Until this time, this class/interface is unsupported.

Constructor:
 public DoubleBuffer3D(DoubleBuffer3DConsumer target,
    int capacity) 
    Constructs and returns a new buffer with the given target.
    Parameters:
    target - the target to flush to.
    capacity - the number of points the buffer shall be capable of holding before overflowing and flushing to the target.
Method from org.apache.mahout.math.buffer.DoubleBuffer3D Summary:
add,   addAllOf,   clear,   flush
Methods from org.apache.mahout.math.PersistentObject:
clone
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.mahout.math.buffer.DoubleBuffer3D Detail:
 public  void add(double x,
    double y,
    double z) 
      Deprecated!
    Adds the specified point (x,y,z) to the receiver.
 public  void addAllOf(DoubleArrayList xElements,
    DoubleArrayList yElements,
    DoubleArrayList zElements) 
      Deprecated!
    Adds all specified (x,y,z) points to the receiver.
 public  void clear() 
      Deprecated!
    Sets the receiver's size to zero. In other words, forgets about any internally buffered elements.
 public  void flush() 
      Deprecated!
    Adds all internally buffered points to the receiver's target, then resets the current buffer size to zero.