JFreeChart:DynamicTimeSeries,周期为n毫秒

JFreeChart:DynamicTimeSeries,周期为n毫秒,第1张

JFreeChart:DynamicTimeSeries,周期为n毫秒

我认为是因为您有:

public class MultipleOfMilliseconds extends Millisecond//         ^^^^^^^^^^^

这是

true

if(timeSample instanceof Millisecond)

如果您更改测试的顺序,那么可能会更好:

if(timeSample instanceof MultipleOfMillisecond)  this.pointsInTime = new MultipleOfMillisecond[nMoments];else if (timeSample instanceof Millisecond)  this.pointsInTime = new Millisecond[nMoments];


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/5586534.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-12-14
下一篇2022-12-14

发表评论

登录后才能评论

评论列表(0条)

    保存