- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for FluentIterable (0.12 sec)
-
android/guava/src/com/google/common/collect/FluentIterable.java
* * @deprecated instances of {@code FluentIterable} don't need to be converted to {@code * FluentIterable} */ @Deprecated @InlineMe( replacement = "checkNotNull(iterable)", staticImports = {"com.google.common.base.Preconditions.checkNotNull"}) public static <E extends @Nullable Object> FluentIterable<E> from(FluentIterable<E> iterable) { return checkNotNull(iterable); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 24 13:42:31 UTC 2024 - 35.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
FluentIterable<TimeUnit> unused = FluentIterable.from(TimeUnit.values()).append(SECONDS); } public void testFromArrayAndIteratorRemove() { FluentIterable<TimeUnit> units = FluentIterable.from(TimeUnit.values()); assertThrows(UnsupportedOperationException.class, () -> removeIf(units, equalTo(SECONDS))); } public void testFrom() { assertEquals( ImmutableList.of(1, 2, 3, 4),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Parameter.java
checkNotNull(annotationType); return FluentIterable.from(annotations).filter(annotationType).first().orNull(); } /** * @since 18.0 */ @Override public <A extends Annotation> A[] getDeclaredAnnotationsByType(Class<A> annotationType) { @Nullable A[] result = FluentIterable.from(annotations).filter(annotationType).toArray(annotationType);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 16 15:12:31 UTC 2023 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeTraverser.java
* @deprecated Use {@link com.google.common.graph.Traverser#depthFirstPreOrder} instead, which has * the same behavior. */ @Deprecated public final FluentIterable<T> preOrderTraversal(final T root) { checkNotNull(root); return new FluentIterable<T>() { @Override public UnmodifiableIterator<T> iterator() { return preOrderIterator(root); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
assertThat(onlyPresent).containsExactly(2); } private static Optional<Integer> getSomeOptionalInt() { return Optional.of(1); } private static FluentIterable<? extends Number> getSomeNumbers() { return FluentIterable.from(ImmutableList.<Number>of()); } /* * The following tests demonstrate the shortcomings of or() and test that the casting workaround
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
public static <E> Iterable<E> unmodifiableIterable(ImmutableCollection<E> iterable) { return checkNotNull(iterable); } private static final class UnmodifiableIterable<T extends @Nullable Object> extends FluentIterable<T> { private final Iterable<? extends T> iterable; private UnmodifiableIterable(Iterable<? extends T> iterable) { this.iterable = iterable; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 5.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
public void testConstants_areUnique() { assertThat(getConstants()).containsNoDuplicates(); } @J2ktIncompatible @GwtIncompatible // reflection private static FluentIterable<Field> getConstantFields() { return FluentIterable.from(asList(MediaType.class.getDeclaredFields())) .filter( new Predicate<Field>() { @Override public boolean apply(Field input) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 20.4K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
return FluentIterable.from(resources).filter(ClassInfo.class).toSet(); } /** * Returns all top level classes loadable from the current class path. Note that "top-level-ness" * is determined heuristically by class name (see {@link ClassInfo#isTopLevel}). */ public ImmutableSet<ClassInfo> getTopLevelClasses() { return FluentIterable.from(resources) .filter(ClassInfo.class)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 24.9K bytes - Viewed (0)