开发者

J2ME-recordstore

Can someone please tell me what d开发者_开发技巧oes recordenumertaion return when word being searched is not present in recordstore?


I assume that if there are no records to return, the method enumerateRecords returns an empty RecordEnumeration. That is, hasNextElement will return false the first time you call it. I guess it could return null, or throw an exception, but the documentation doesn't mention those, so empty enumeration it seems to be.

Don't be afraid to read the docs!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜