Home
last modified time | relevance | path

Searched refs:randomIndex (Results 1 – 2 of 2) sorted by relevance

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DRandomPhrase.java130 int randomIndex = random.nextInt(typeSet.size()); in getTokenType() local
131 return typeSet.get(randomIndex); in getTokenType()
/external/doclava/res/assets/templates-sdk/assets/js/
Ddocs.js6445 var randomIndex = Math.floor(Math.random() * (i + 1));
6446 var randomItem = input[randomIndex];
6447 input[randomIndex] = input[i];