- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testStreamCount (0.19 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java
synchronized (collection) { // to allow Collections.synchronized* tests to pass assertEquals(getOrderedElements(), Arrays.asList(collection.stream().toArray())); } } public void testStreamCount() { synchronized (collection) { // to allow Collections.synchronized* tests to pass assertEquals(getNumElements(), collection.stream().count()); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 2.3K bytes - Viewed (0)