- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 199 for ImmutableSet (0.19 sec)
-
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
} } static boolean isPrimitiveOrNullable(Parameter param) { return param.getType().getRawType().isPrimitive() || isNullable(param); } private static final ImmutableSet<String> NULLABLE_ANNOTATION_SIMPLE_NAMES = ImmutableSet.of("CheckForNull", "Nullable", "NullableDecl", "NullableType"); static boolean isNullable(Invokable<?, ?> invokable) { return NULLNESS_ANNOTATION_READER.isNullable(invokable); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
} } static boolean isPrimitiveOrNullable(Parameter param) { return param.getType().getRawType().isPrimitive() || isNullable(param); } private static final ImmutableSet<String> NULLABLE_ANNOTATION_SIMPLE_NAMES = ImmutableSet.of("CheckForNull", "Nullable", "NullableDecl", "NullableType"); static boolean isNullable(Invokable<?, ?> invokable) { return NULLNESS_ANNOTATION_READER.isNullable(invokable); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 23.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} private static void assertHasArrayInterfaces(TypeToken<?> arrayType) { assertEquals(arrayInterfaces(), ImmutableSet.copyOf(arrayType.getGenericInterfaces())); } private static ImmutableSet<TypeToken<?>> arrayInterfaces() { ImmutableSet.Builder<TypeToken<?>> builder = ImmutableSet.builder(); for (Class<?> interfaceType : Object[].class.getInterfaces()) { builder.add(TypeToken.of(interfaceType));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
() -> rangeSet.removeAll(ImmutableRangeSet.of(Range.closed(6, 8)))); } @AndroidIncompatible // slow public void testExhaustive() { ImmutableSet<Range<Integer>> ranges = ImmutableSet.of( Range.<Integer>all(), Range.<Integer>closedOpen(3, 5), Range.singleton(1), Range.lessThan(2), Range.greaterThan(10),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 21.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
Set<String> set = sortedTable.rowKeySet().subSet("cat", "egg"); assertEquals(singleton("dog"), set); set.clear(); assertTrue(set.isEmpty()); assertEquals(ImmutableSet.of("bar", "foo"), sortedTable.rowKeySet()); } public void testRowMapComparator() { sortedTable = TreeBasedTable.create(); assertSame(Ordering.natural(), sortedTable.rowMap().comparator());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
*/ private static class ExampleStackTrace extends IllegalStateException { static final StackTraceElement[] EMPTY_STACK_TRACE = new StackTraceElement[0]; static final ImmutableSet<String> EXCLUDED_CLASS_NAMES = ImmutableSet.of( CycleDetectingLockFactory.class.getName(), ExampleStackTrace.class.getName(), LockGraphNode.class.getName());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 35.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableMultimap; import com.google.common.collect.ImmutableMultiset; import com.google.common.collect.ImmutableSet; import com.google.common.collect.ImmutableSetMultimap; import com.google.common.collect.ImmutableSortedMap; import com.google.common.collect.ImmutableSortedMultiset; import com.google.common.collect.ImmutableSortedSet;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 18.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
public void testCreate() { LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create(); multimap.put("foo", 1); multimap.put("bar", 2); multimap.put("foo", 3); assertEquals(ImmutableSet.of(1, 3), multimap.get("foo")); } public void testCreateFromMultimap() { Multimap<String, Integer> multimap = LinkedHashMultimap.create(); multimap.put("a", 1); multimap.put("b", 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
LinkedHashSet<E> set = Sets.newLinkedHashSet(); set.add(freshElement); return set; } @Generates static <E> ImmutableSet<E> generateImmutableSet(E freshElement) { return ImmutableSet.of(freshElement); } @Generates static <E extends Comparable<? super E>> SortedSet<E> generateSortedSet(E freshElement) { return generateNavigableSet(freshElement);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
LinkedHashSet<E> set = Sets.newLinkedHashSet(); set.add(freshElement); return set; } @Generates static <E> ImmutableSet<E> generateImmutableSet(E freshElement) { return ImmutableSet.of(freshElement); } @Generates static <E extends Comparable<? super E>> SortedSet<E> generateSortedSet(E freshElement) { return generateNavigableSet(freshElement);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.1K bytes - Viewed (0)