- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 126 for We (0.24 sec)
-
guava/pom.xml
<!-- Even after we stop using JSR305 annotations in our own code, we'll want this link so that NullPointerTester's docs can link to @CheckForNull and friends... at least once we start using this config for guava-testlib. --> <offlineLink>
XML - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Mar 11 16:37:45 GMT 2024 - 8.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FakeTicker.java
@CanIgnoreReturnValue @SuppressWarnings("Java7ApiChecker") // guava-android can rely on library desugaring now. @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents. @Beta // TODO: b/288085449 - Remove @Beta after we're sure that Java 8 APIs are safe for Android public FakeTicker advance(Duration duration) { return advance(duration.toNanos()); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Mar 13 18:17:09 GMT 2024 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EquivalenceTest.java
.addEqualityGroup(isNull) .addEqualityGroup(Equivalence.identity().equivalentTo("1")) .testEquals(); } /* * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer` * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ElementTypesAreNonnullByDefault.java
/** * Marks all "top-level" types as non-null in a way that is recognized by Kotlin. Note that this * unfortunately includes type-variable usages, so we also provide {@link ParametricNullness} to * "undo" it as best we can. */ @GwtCompatible @Retention(RUNTIME) @Target(TYPE) @TypeQualifierDefault({FIELD, METHOD, PARAMETER}) @Nonnull
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.5K bytes - Viewed (0) -
guava/src/com/google/common/base/SmallCharMatcher.java
} private boolean checkFilter(int c) { return 1 == (1 & (filter >> c)); } // This is all essentially copied from ImmutableSet, but we have to duplicate because // of dependencies. // Represents how tightly we can pack things, as a maximum. private static final double DESIRED_LOAD_FACTOR = 0.5; /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 4.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
public void testAddAll_nullSupported() { List<E> containsNull = singletonList(null); assertTrue("addAll(containsNull) should return true", collection.addAll(containsNull)); /* * We need (E) to force interpretation of null as the single element of a * varargs array, not the array itself */ expectAdded((E) null); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java
uniqueEntries.addAll(ms.entrySet()); assertEquals(3, uniqueEntries.size()); } // Wrapper of EnumMultiset factory methods, because we need to skip create(Class). // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise. // For the same reason, we need to skip create(Iterable, Class). private static class EnumMultisetFactory {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
suite.addTest( MapTestSuiteBuilder.using( new TestTypeToInstanceMapGenerator() { // Other tests will verify what real, warning-free usage looks like // but here we have to do some serious fudging @Override @SuppressWarnings({"unchecked", "rawtypes"}) public Map<TypeToken, Object> create(Object... elements) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 6.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java
import java.util.Collections; import java.util.Set; /** * Optional features of classes derived from {@link Multiset}. * * @author Louis Wasserman */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum MultisetFeature implements Feature<Multiset> { /** * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the * backing multiset.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java
} @Override public boolean containsAll(Collection<?> targets) { // TODO(jlevy): For optimal performance, use a binary search when // targets.size() < size() / log(size()) // TODO(kevinb): see if we can share code with OrderedIterator after it // graduates from labs. if (targets instanceof Multiset) { targets = ((Multiset<?>) targets).elementSet(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 9K bytes - Viewed (0)