Subversion Repositories SmartDukaan

Rev

Rev 32960 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32960 Rev 33665
Line 26... Line 26...
26
 
26
 
27
    public E next() {
27
    public E next() {
28
        double value = random.nextDouble() * total;
28
        double value = random.nextDouble() * total;
29
        return map.higherEntry(value).getValue();
29
        return map.higherEntry(value).getValue();
30
    }
30
    }
-
 
31
 
-
 
32
    public int size() {
-
 
33
        return map.size();
-
 
34
    }
31
}
35
}
32
 
36