[Biojava-l] interator problem

Kemin Zhou kzhou@molsci.org
Wed, 25 Jul 2001 11:17:21 -0700


while using the AceSequenceDB
object to get the information about sequences:

the ids() function returne a set with 46,749 sequence ids

 Iterator idit = allid.iterator();
         int count =0;
           while (idit.hasNext()) {
         count++;
             String an_id = (String)idit.next();
            System.out.println(an_id);
           }
        System.out.println("total objects retrieved " + count);

The total objects retrieved is only 4698.

This must be due to Aceserver is doing slicing with ACESERV_MSGENCORE.

Can this be fixed in the driver?

Kemin