How do you reverse the order in an J2ME RecordEnumerati on? I get a
result of 3, 2, 1 instead of 1, 2, 3 for the code below.
RecordEnumerati on enum = recordStore.enu merateRecords(n ull, null,
false); while( enum.hasNextEle ment() )
{
byte[] data = enum.nextRecord ();
String recordStr = readRecord( data );
System.out.prin tln(recordStr);
}
What's the deal here?
result of 3, 2, 1 instead of 1, 2, 3 for the code below.
RecordEnumerati on enum = recordStore.enu merateRecords(n ull, null,
false); while( enum.hasNextEle ment() )
{
byte[] data = enum.nextRecord ();
String recordStr = readRecord( data );
System.out.prin tln(recordStr);
}
What's the deal here?
Comment