com::cosylab::gui::components::r2::chart::IntPointCollector Class Reference

Collaboration diagram for com::cosylab::gui::components::r2::chart::IntPointCollector:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IntPointCollector ()
 IntPointCollector (int capacity)
void finalize ()
IntPoint newPoint ()
IntPoint newPoint (int x, int y)
void recyclePoint (IntPoint point)
void setCapacity (int capacity)

Private Attributes

java.lang.ref.ReferenceQueue queue = new java.lang.ref.ReferenceQueue()
IntPoint first = null
IntPoint last = null
int recycled = 0
int created = 0
int size = 0
int capacity = 10

Detailed Description

Insert the type's description here. Creation date: (31.03.2001 23:35:40)

Author:
:

Constructor & Destructor Documentation

com::cosylab::gui::components::r2::chart::IntPointCollector::IntPointCollector (  )  [inline]

PointCollector constructor comment.

com::cosylab::gui::components::r2::chart::IntPointCollector::IntPointCollector ( int  capacity  )  [inline]

PointCollector constructor comment.


Member Function Documentation

void com::cosylab::gui::components::r2::chart::IntPointCollector::finalize (  )  [inline]

References created, and recycled.

IntPoint com::cosylab::gui::components::r2::chart::IntPointCollector::newPoint ( int  x,
int  y 
) [inline]

Insert the method's description here. Creation date: (31.03.2001 23:38:04)

Returns:
si.ijs.kgb.chart.Point

References newPoint(), com::cosylab::gui::components::r2::chart::IntPoint::x, and com::cosylab::gui::components::r2::chart::IntPoint::y.

IntPoint com::cosylab::gui::components::r2::chart::IntPointCollector::newPoint (  )  [inline]

Insert the method's description here. Creation date: (31.03.2001 23:38:04)

Returns:
si.ijs.kgb.chart.Point

References created, first, com::cosylab::gui::components::r2::chart::IntPoint::next, queue, recycled, and size.

Referenced by newPoint().

void com::cosylab::gui::components::r2::chart::IntPointCollector::recyclePoint ( IntPoint  point  )  [inline]

Insert the method's description here. Creation date: (31.03.2001 23:46:49)

Parameters:
point si.ijs.kgb.chart.Point

References capacity, first, last, com::cosylab::gui::components::r2::chart::IntPoint::next, and size.

Referenced by com::cosylab::gui::components::r2::chart::DefaultPointTransformer::removeFirst().

void com::cosylab::gui::components::r2::chart::IntPointCollector::setCapacity ( int  capacity  )  [inline]

Sets capacity of catch. If catch contains more point than new capacity, they will not be released until recycled.


Member Data Documentation

Referenced by recyclePoint().

Referenced by finalize(), and newPoint().

Referenced by newPoint(), and recyclePoint().

Referenced by recyclePoint().

java.lang.ref.ReferenceQueue com::cosylab::gui::components::r2::chart::IntPointCollector::queue = new java.lang.ref.ReferenceQueue() [private]

Referenced by newPoint().

Referenced by finalize(), and newPoint().

Referenced by newPoint(), and recyclePoint().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2