-Re: TimeStampFilter - "type int out of range"
Lars George 2012-02-20, 17:14
Add a "L" to the number, e.g.
On Feb 20, 2012, at 2:34 AM, Bing Li wrote:
> Dear all,
> I am running the sample about TimeStampFilter as follows.
> List<Long> ts = new ArrayList<Long>();
> ts.add(new Long(1329640759364));
> ts.add(new Long(1329640759372));
> ts.add(new Long(1329640759378));
> Filter filter = new TimestampsFilter(ts);
> When compiling the above code, the error is "type int out of range". But
> the time stamp is that long. How to handle this problem?
> Thanks so much!
> Best regards,