src/edu/stanford/nlp/sempre/interactive/VegaRandomizer.java
private <T> T randomChoice (List<T> stuff) {
    if (stuff.isEmpty()) return null;
    int index = opts.vegaRandomizerRandom.nextInt(stuff.size());
    return stuff.get(index);
  }
/** Helper function for randomizing an item. */
Helper function for randomizing an item.
Helper function for randomizing an item .
private <T> T randomChoice (List<T> stuff) {
    if (stuff.isEmpty()) return null;
    int index = opts.vegaRandomizerRandom.nextInt(stuff.size());
    return stuff.get(index);
  }
private < T > T randomChoice ( List < T > stuff ) { if ( stuff . isEmpty ( ) ) return null ; int index = opts . vegaRandomizerRandom . nextInt ( stuff . size ( ) ) ; return stuff . get ( index ) ; }
Helper function for randomizing an item.
Helper function for randomizing an item .