Hi, > Consider the following data: > long[] data; > data[0] = 0x00000000000000FF; > data[1] = 0x0000000000000000; > data[2] = 0xFFFFFFFFFFFFFF; > fromIndex = 16; > > The function below will not find the correct result.
Sorry I can't find a problem. My test case is: BitField field = new BitField(); field.setRange(0, 8, true); field.setRange(128, 64, true); System.out.println(field.nextSetBit(16)); Could you explain what is wrong and provide a test case? Regards, Thomas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/h2-database?hl=en -~----------~----~----~----~------~----~------~--~---
