- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for who (0.46 sec)
-
android/guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.compare(Boolean.TRUE, true) .compare(Boolean.TRUE, Boolean.TRUE) .result()) .isEqualTo(0); } public void testDegenerate() { // kinda bogus, but who cares? assertThat(ComparisonChain.start().result()).isEqualTo(0); } public void testOneEqual() { assertThat(ComparisonChain.start().compare("a", "a").result()).isEqualTo(0); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/GraphsBridgeMethods.java
import com.google.common.annotations.Beta; import java.util.Set; /** * Supertype for {@link Graphs}, containing the old signatures of methods whose signatures we've * changed. This provides binary compatibility for users who compiled against the old signatures. */ @Beta @ElementTypesAreNonnullByDefault abstract class GraphsBridgeMethods { @SuppressWarnings("PreferredInterfaceType")
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 14 19:31:40 GMT 2024 - 707 bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* * But no matter what we do, it's worth remembering that the resulting code is going to be unsound * in the presence of LegacyConverter, at least in the case of users who view the converter as a * Function<A, B> or who call convertAll (and for any checkers that apply @PolyNull-like semantics * to Converter.convert). So maybe we don't want to think too hard about how to prevent our
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
* on its instance of {@code TypeVariableImpl}. Otherwise it throws {@link * UnsupportedOperationException}; this should only apply to {@code getAnnotatedBounds()}. This * does mean that users on Java 8 who obtain an instance of {@code TypeVariable} from {@link * TypeResolver#resolveType} will not be able to call {@code getAnnotatedBounds()} on it, but that * should hopefully be rare. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Converter.java
* * But no matter what we do, it's worth remembering that the resulting code is going to be unsound * in the presence of LegacyConverter, at least in the case of users who view the converter as a * Function<A, B> or who call convertAll (and for any checkers that apply @PolyNull-like semantics * to Converter.convert). So maybe we don't want to think too hard about how to prevent our
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (1) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
.compare(Boolean.TRUE, true) .compare(Boolean.TRUE, Boolean.TRUE) .result()) .isEqualTo(0); } public void testDegenerate() { // kinda bogus, but who cares? assertThat(ComparisonChain.start().result()).isEqualTo(0); } public void testOneEqual() { assertThat(ComparisonChain.start().compare("a", "a").result()).isEqualTo(0); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 27 13:27:08 GMT 2024 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
// - @PolyNull means "@Nullable or @Nonnull" // (That would be unsound for an input Iterable<@Nullable Foo>. So, if we wanted to use // @PolyNull, we would have to restrict this method to non-null <T>. But it has users who pass // iterables with null elements.) // // - @JointlyNullable means "@Nullable or no annotation" @CheckForNull public static <T extends @Nullable Object> T find( Iterable<? extends T> iterable,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 42.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
@CheckForNull public final V getOrDefault(@CheckForNull Object key, @CheckForNull V defaultValue) { /* * Even though it's weird to pass a defaultValue that is null, some callers do so. Those who * pass a literal "null" should probably just use `get`, but I would expect other callers to * pass an expression that *might* be null. This could happen with: *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 41.7K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Stats.java
* feed values to it as you get them, then call {@link StatsAccumulator#snapshot}. * </ul> * * <p>Static convenience methods called {@code meanOf} are also provided for users who wish to * calculate <i>only</i> the mean. * * <p><b>Java 8+ users:</b> If you are not using any of the variance statistics, you may wish to use * built-in JDK libraries instead of this class. * * @author Pete Gillin
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 22K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* is proportional to -log(p), but there is not much of a point after all, e.g. * optimalM(1000, 0.0000000000000001) = 76680 which is less than 10kb. Who cares! */ long numBits = optimalNumOfBits(expectedInsertions, fpp); int numHashFunctions = optimalNumOfHashFunctions(expectedInsertions, numBits); try {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0)