Home
last modified time | relevance | path

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

/external/guava/guava-testlib/src/com/google/common/testing/
DFreshValueGenerator.java164 Object sample = nextInstance(samples, null); in generate()
169 return nextInstance(rawType.getEnumConstants(), null); in generate()
264 private <T> T nextInstance(T[] instances, T defaultValue) { in nextInstance() method in FreshValueGenerator
265 return nextInstance(Arrays.asList(instances), defaultValue); in nextInstance()
268 private <T> T nextInstance(Collection<T> instances, T defaultValue) { in nextInstance() method in FreshValueGenerator
290 return nextInstance( in freshClass()
402 return nextInstance(Charset.availableCharsets().values(), Charsets.UTF_8); in freshCharset()
406 return nextInstance(Locale.getAvailableLocales(), Locale.US); in freshLocale()