Method nextBoolean()
Return type: boolean
Member of: java.util.Random
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 bug.genesX [ j ] = random.nextBoolean ( );
2 CollectionDiff diff = new CollectionDiff(beforeC, afterC, rand.nextBoolean());
3 if ( random.nextBoolean ( ) )
4 if(random.nextBoolean()) {
5 if (!m.isEnabled() && !m.isAutoload() && !m.isEager() && r.nextBoolean()) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.