Home
last modified time | relevance | path

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

/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DOptionalTest.java221 assertThat(Optional.presentInstances(optionals)).iteratesAs("a", "b", "c"); in testPresentInstances_allPresent()
227 assertThat(Optional.presentInstances(optionals)).isEmpty(); in testPresentInstances_allAbsent()
233 assertThat(Optional.presentInstances(optionals)).iteratesAs("a", "c"); in testPresentInstances_somePresent()
239 Iterable<String> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_callingIteratorTwice()
247 Iterable<Number> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_wildcards()
/external/guava/guava-tests/test/com/google/common/base/
DOptionalTest.java224 assertThat(Optional.presentInstances(optionals)).iteratesAs("a", "b", "c"); in testPresentInstances_allPresent()
230 assertThat(Optional.presentInstances(optionals)).isEmpty(); in testPresentInstances_allAbsent()
236 assertThat(Optional.presentInstances(optionals)).iteratesAs("a", "c"); in testPresentInstances_somePresent()
242 Iterable<String> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_callingIteratorTwice()
250 Iterable<Number> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_wildcards()
/external/guava/guava/src/com/google/common/base/
DOptional.java216 public static <T> Iterable<T> presentInstances( in presentInstances() method in Optional