T function ( Collection < T > arg0 ) { Object [ ] loc0 = arg0 . toArray ( new Object [ arg0 . size ( ) ] ) ; return ( T ) loc0 [ nextInt ( loc0 . length ) ] ; }
gives a random element of the given collection . concode_field_sep Random delegate concode_elem_sep long seed concode_elem_sep BigInteger NANOS_PER_SECOND concode_field_sep float nextFloat concode_elem_sep float nextFloat concode_elem_sep long seed concode_elem_sep Random toJDKRandom concode_elem_sep byte nextByte concode_elem_sep long[] nextSecondsAndNanos concode_elem_sep int nextInt concode_elem_sep int nextInt concode_elem_sep int nextInt concode_elem_sep long nextLong concode_elem_sep long nextLong concode_elem_sep double nextDouble concode_elem_sep double nextDouble concode_elem_sep double nextGaussian concode_elem_sep void nextBytes concode_elem_sep byte[] nextBytes concode_elem_sep Instant nextInstant concode_elem_sep char nextChar concode_elem_sep short nextShort concode_elem_sep Duration nextDuration concode_elem_sep boolean nextBoolean concode_elem_sep void setSeed concode_elem_sep BigInteger nextBigInteger