
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 |
Insert the type's description here. Creation date: (31.03.2001 23:35:40)
| 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.
| void com::cosylab::gui::components::r2::chart::IntPointCollector::finalize | ( | ) | [inline] |
| 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)
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)
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)
| 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.
int com::cosylab::gui::components::r2::chart::IntPointCollector::capacity = 10 [private] |
Referenced by recyclePoint().
int com::cosylab::gui::components::r2::chart::IntPointCollector::created = 0 [private] |
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().
int com::cosylab::gui::components::r2::chart::IntPointCollector::recycled = 0 [private] |
Referenced by finalize(), and newPoint().
int com::cosylab::gui::components::r2::chart::IntPointCollector::size = 0 [private] |
Referenced by newPoint(), and recyclePoint().
1.6.2