Home
last modified time | relevance | path

Searched refs:Iterable (Results 1 – 25 of 38) sorted by relevance

12

/libcore/luni/src/main/java/libcore/util/
DCollectionUtils.java36 public static <T> Iterable<T> dereferenceIterable( in dereferenceIterable()
37 final Iterable<? extends Reference<T>> iterable, final boolean trim) { in dereferenceIterable()
38 return new Iterable<T>() { in dereferenceIterable()
/libcore/luni/src/test/java/libcore/java/util/
DSpliteratorTester.java113 Iterable<T> spliterable, List<T> expectedElements) { in runBasicSplitTests()
159 public static <T> void assertSupportsTrySplit(Iterable spliterable) { in assertSupportsTrySplit()
173 public static <T> void runBasicSplitTests(Iterable<T> spliterable, in runBasicSplitTests()
192 public static <T> void runOrderedTests(Iterable<T> spliterable) { in runOrderedTests()
240 public static <T> void runSizedTests(Iterable<T> spliterable, int expectedSize) { in runSizedTests()
268 public static <T> void runSubSizedTests(Iterable<T> spliterable, int expectedSize) { in runSubSizedTests()
272 public static <T> void runDistinctTests(Iterable<T> spliterable) { in runDistinctTests()
306 public static <T> void runSortedTests(Iterable<T> spliterable, Comparator<T> comparator) { in runSortedTests()
325 public static <T extends Comparable<T>> void runSortedTests(Iterable<T> spliterable) { in runSortedTests()
DLinkedHashMapTest.java25 import java.lang.Iterable;
327 private static<E> int iterableSize(Iterable<E> iterable) { in iterableSize()
/libcore/ojluni/src/main/java/java/nio/file/
DFileSystem.java192 public abstract Iterable<Path> getRootDirectories(); in getRootDirectories()
226 public abstract Iterable<FileStore> getFileStores(); in getFileStores()
DDirectoryStream.java120 extends Closeable, Iterable<T> {
DPath.java99 extends Comparable<Path>, Iterable<Path>, Watchable
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileSystem.java152 public final Iterable<Path> getRootDirectories() { in getRootDirectories()
155 return new Iterable<Path>() { in getRootDirectories()
173 abstract Iterable<UnixMountEntry> getMountEntries();
248 public final Iterable<FileStore> getFileStores() {
257 return new Iterable<FileStore>() {
DLinuxFileSystem.java78 Iterable<UnixMountEntry> getMountEntries(String fstab) { in getMountEntries()
104 Iterable<UnixMountEntry> getMountEntries() { in getMountEntries()
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DLambdaTestHelpers.java188 public static void assertCountSum(Iterable<? super Integer> it, int count, int sum) { in assertCountSum()
246 public static<T extends Comparable<? super T>> void assertSorted(Iterable<T> iter) { in assertSorted()
250 public static<T> void assertSorted(Iterable<T> iter, Comparator<? super T> comp) { in assertSorted()
254 public static <T> void assertUnique(Iterable<T> iter) { in assertUnique()
277 public static<T> void assertContents(Iterable<T> actual, Iterable<T> expected) { in assertContents()
389 if (a instanceof Iterable && b instanceof Iterable)
390 assertContents((Iterable) a, (Iterable) b);
395 public static<T> void assertContentsUnordered(Iterable<T> actual, Iterable<T> expected) {
DOpTestCase.java191 protected <T, U, S_OUT extends BaseStream<U, S_OUT>, I extends Iterable<U>>
261 ResultAsserter<Iterable<U>> resultAsserter = (act, exp, ord, par) -> {
284 …public <I extends Iterable<U>> ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(I expec… in expectedResult()
366 …public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> resultAsserter(ResultAsserter<Iterable<U>> res… in resultAsserter()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DLambdaTestHelpers.java189 public static void assertCountSum(Iterable<? super Integer> it, int count, int sum) { in assertCountSum()
247 public static<T extends Comparable<? super T>> void assertSorted(Iterable<T> iter) { in assertSorted()
251 public static<T> void assertSorted(Iterable<T> iter, Comparator<? super T> comp) { in assertSorted()
255 public static <T> void assertUnique(Iterable<T> iter) { in assertUnique()
278 public static<T> void assertContents(Iterable<T> actual, Iterable<T> expected) { in assertContents()
390 if (a instanceof Iterable && b instanceof Iterable)
391 assertContents((Iterable) a, (Iterable) b);
396 public static<T> void assertContentsUnordered(Iterable<T> actual, Iterable<T> expected) {
DOpTestCase.java192 protected <T, U, S_OUT extends BaseStream<U, S_OUT>, I extends Iterable<U>>
262 ResultAsserter<Iterable<U>> resultAsserter = (act, exp, ord, par) -> {
285 …public <I extends Iterable<U>> ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(I expec… in expectedResult()
367 …public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> resultAsserter(ResultAsserter<Iterable<U>> res… in resultAsserter()
/libcore/luni/src/test/filesystems/src/mypackage/
DMockFileSystem.java84 public Iterable<Path> getRootDirectories() { in getRootDirectories()
89 public Iterable<FileStore> getFileStores() { in getFileStores()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DIterable.annotated.java33 public interface Iterable<T> { interface
/libcore/luni/src/test/java/libcore/libcore/util/
DCollectionUtilsTest.java40 Iterable<String> strings = CollectionUtils.dereferenceIterable(refs, true); in testDereferenceIterable()
69 private <T> List<T> toList(Iterable<T> iterable) { in toList()
/libcore/ojluni/src/main/java/java/lang/
DIterable.java45 public interface Iterable<T> { interface
/libcore/ojluni/src/main/java/java/util/
DCollection.java144 public interface Collection<E> extends Iterable<E> {
DServiceLoader.java184 implements Iterable<S>
/libcore/luni/src/test/java/libcore/java/nio/file/
DLinuxFileSystemTest.java82 Iterable<Path> rootDirectories = fileSystem.getRootDirectories(); in test_getRootDirectories()
91 Iterable<FileStore> fileStores = fileSystem.getFileStores(); in test_getFileStores()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollection.annotated.java33 public interface Collection<E> extends java.lang.Iterable<E> {
/libcore/ojluni/src/main/java/java/sql/
DSQLException.java54 implements Iterable<Throwable> {
/libcore/luni/src/test/java/libcore/java/time/zone/
DIcuZoneRulesProviderTest.java50 public static Iterable<String> getZoneIds() { in getZoneIds()
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathFactoryFinder.java326 private Iterable<URL> createServiceFileIterator() { in createServiceFileIterator()
/libcore/luni/src/main/java/javax/xml/validation/
DSchemaFactoryFinder.java292 private Iterable<URL> createServiceFileIterator() { in createServiceFileIterator()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DSliceOpTest.java267 private ResultAsserter<Iterable<Integer>> sliceResultAsserter(Iterable<Integer> data, in sliceResultAsserter()

12