Home
last modified time | relevance | path

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

123

/libcore/ojluni/src/test/java/util/Collection/testlibrary/
DCollectionAsserts.java48 public static void assertCountSum(Iterable<? super Integer> it, int count, int sum) { in assertCountSum()
98 public static<T extends Comparable<? super T>> void assertSorted(Iterable<T> iter) { in assertSorted()
102 public static<T> void assertSorted(Iterable<T> iter, Comparator<? super T> comp) { in assertSorted()
106 public static <T> void assertUnique(Iterable<T> iter) { in assertUnique()
123 public static<T> void assertContents(Iterable<T> actual, Iterable<T> expected) { in assertContents()
127 public static<T> void assertContents(Iterable<T> actual, Iterable<T> expected, String msg) { in assertContents()
169 …T extends Comparable<? super T>> void assertContentsUnordered(Iterable<T> actual, Iterable<T> expe… in assertContentsUnordered()
173 …T extends Comparable<? super T>> void assertContentsUnordered(Iterable<T> actual, Iterable<T> expe… in assertContentsUnordered()
186 static <T> void assertSplitContents(Iterable<Iterable<T>> splits, Iterable<T> list) { in assertSplitContents()
187 Iterator<Iterable<T>> mI = splits.iterator(); in assertSplitContents()
DCollectionSupplier.java27 import java.lang.Iterable;
48 public final class CollectionSupplier<C extends Collection<Integer>> implements Supplier<Iterable<C…
130 public Iterable<TestCase<C>> get() { in get()
/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()
/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.java100 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) {
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DLambdaTestHelpers.java190 public static void assertCountSum(Iterable<? super Integer> it, int count, int sum) { in assertCountSum()
248 public static<T extends Comparable<? super T>> void assertSorted(Iterable<T> iter) { in assertSorted()
252 public static<T> void assertSorted(Iterable<T> iter, Comparator<? super T> comp) { in assertSorted()
256 public static <T> void assertUnique(Iterable<T> iter) { in assertUnique()
279 public static<T> void assertContents(Iterable<T> actual, Iterable<T> expected) { in assertContents()
391 if (a instanceof Iterable && b instanceof Iterable)
392 assertContents((Iterable) a, (Iterable) b);
397 public static<T> void assertContentsUnordered(Iterable<T> actual, Iterable<T> expected) {
/libcore/ojluni/src/test/java/util/stream/examples/
DJavadocExamples.java66 if (e instanceof Iterable<?>) { in expandIterable()
67 for (Object ie : (Iterable<?>)e) { in expandIterable()
/libcore/luni/src/test/filesystems/src/mypackage/
DMockFileSystem.java84 public Iterable<Path> getRootDirectories() { in getRootDirectories()
89 public Iterable<FileStore> getFileStores() { in getFileStores()
/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/annotations/sdk/nullability/java/lang/
DIterable.annotated.java33 public interface Iterable<T> { interface
/libcore/ojluni/src/main/java/java/lang/
DIterable.java42 public interface Iterable<T> { interface
/libcore/ojluni/src/main/java/java/util/
DCollection.java253 public interface Collection<E> extends Iterable<E> {
/libcore/ojluni/annotations/flagged_api/java/util/
DServiceLoader.annotated.java31 public final class ServiceLoader<S> implements java.lang.Iterable<S> {
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DWhileOpTest.java189 private <T> ResultAsserter<Iterable<T>> whileResultAsserter(Iterable<T> inputData, in whileResultAsserter()
300 ResultAsserter<Iterable<Integer>> ra,
319 ResultAsserter<Iterable<Integer>> ra,
/libcore/ojluni/src/test/java/util/ServiceLoader/basic/
DBasic.java36 private static <T> Set<T> setOf(Iterable<T> it) { in setOf()
/libcore/luni/src/test/java/libcore/java/nio/file/
DLinuxFileSystemTest.java83 Iterable<Path> rootDirectories = fileSystem.getRootDirectories(); in test_getRootDirectories()
92 Iterable<FileStore> fileStores = fileSystem.getFileStores(); in test_getFileStores()
/libcore/ojluni/src/test/java/lang/StackWalker/
DStackRecorderUtil.java36 public class StackRecorderUtil implements Iterable<StackRecorderUtil.TestFrame> {
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollection.annotated.java33 public interface Collection<E> extends java.lang.Iterable<E> {
/libcore/luni/src/test/java/tests/targets/security/
DKeyStorePkcs7FormatTest.java61 public static Iterable<?> data() { in data()
/libcore/ojluni/src/main/java/java/sql/
DSQLException.java54 implements Iterable<Throwable> {

123