HI, Can some1 pls tel me what does recordenumertaion return when word being searched is not present in recordstore.
thanks, Swetha
HI, Can some1 pls tel me what does recordenumertaion return when word being searched is not present in recordstore.
thanks, Swetha
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!