- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for Enums (8.99 sec)
-
android/guava/src/com/google/common/base/Converter.java
* * <h3>Common ways to use</h3> * * <p>Getting a converter: * * <ul> * <li>Use a provided converter implementation, such as {@link Enums#stringConverter}, {@link * com.google.common.primitives.Ints#stringConverter Ints.stringConverter} or the {@linkplain * #reverse reverse} views of these. * <li>Convert between specific preset values using {@link
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Supplies an arbitrary "default" instance for a wide range of types, often useful in testing * utilities. * * <p>Covers arrays, enums and common types defined in {@code java.lang}, {@code java.lang.reflect}, * {@code java.io}, {@code java.nio}, {@code java.math}, {@code java.util}, {@code
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 21K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Supplies an arbitrary "default" instance for a wide range of types, often useful in testing * utilities. * * <p>Covers arrays, enums and common types defined in {@code java.lang}, {@code java.lang.reflect}, * {@code java.io}, {@code java.nio}, {@code java.math}, {@code java.util}, {@code
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 20.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
return new MultimapBuilderWithKeys<K0>() { @SuppressWarnings("unchecked") @Override <K extends K0, V extends @Nullable Object> Map<K, Collection<V>> createMap() { // K must actually be K0, since enums are effectively final // (their subclasses are inaccessible) return (Map<K, Collection<V>>) new EnumMap<K0, Collection<V>>(keyClass); } }; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
/** * Identifier used to encode this strategy, when marshalled as part of a BloomFilter. Only * values in the [-128, 127] range are valid for the compact serial form. Non-negative values * are reserved for enums defined in BloomFilterStrategies; negative values are reserved for any * custom, stateful strategy we may define (e.g. any kind of strategy that would depend on user * input). */ int ordinal(); }
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) -
guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.util.ArrayList; import java.util.Collections; import java.util.List; @SuppressWarnings("unused") // Nested enums used reflectively in setUp. public class EnumsBenchmark { @Param({"Small", "Medium", "Large"}) String enumSize; @Param({"0.2", "0.8"}) float hitRate;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 29.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.util.ArrayList; import java.util.Collections; import java.util.List; @SuppressWarnings("unused") // Nested enums used reflectively in setUp. public class EnumsBenchmark { @Param({"Small", "Medium", "Large"}) String enumSize; @Param({"0.2", "0.8"}) float hitRate;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 29.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Converter.java
* * <h3>Common ways to use</h3> * * <p>Getting a converter: * * <ul> * <li>Use a provided converter implementation, such as {@link Enums#stringConverter}, {@link * com.google.common.primitives.Ints#stringConverter Ints.stringConverter} or the {@linkplain * #reverse reverse} views of these. * <li>Convert between specific preset values using {@link
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
public void testIn_compilesWithExplicitSupertype() { Collection<Number> nums = ImmutableSet.of(); Predicate<Number> p1 = Predicates.in(nums); Predicate<Object> p2 = Predicates.<Object>in(nums); // The next two lines are not expected to compile. // Predicate<Integer> p3 = Predicates.in(nums); // Predicate<Integer> p4 = Predicates.<Integer>in(nums); } @J2ktIncompatible @GwtIncompatible // NullPointerTester
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 32.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
} }; assertEquals(2, FluentIterable.from(iterable).size()); } public void testSize_collectionDoesntIterate() { List<Integer> nums = asList(1, 2, 3, 4, 5); List<Integer> collection = new ArrayList<Integer>(nums) { @Override public Iterator<Integer> iterator() { throw new AssertionFailedError("Don't iterate me!"); } };
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 06 17:32:08 GMT 2023 - 30.6K bytes - Viewed (0)