- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,093 for INSTANCE (0.09 sec)
-
guava/src/com/google/common/collect/AllEqualOrdering.java
* * @author Emily Soldal */ @GwtCompatible(serializable = true) @ElementTypesAreNonnullByDefault final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable { static final AllEqualOrdering INSTANCE = new AllEqualOrdering(); @Override @SuppressWarnings("UnusedVariable") // intentionally weird Comparator public int compare(@CheckForNull Object left, @CheckForNull Object right) { return 0; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:24:26 UTC 2024 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/EmptyImmutableListMultimap.java
* * @author Jared Levy */ @GwtCompatible(serializable = true) @ElementTypesAreNonnullByDefault class EmptyImmutableListMultimap extends ImmutableListMultimap<Object, Object> { static final EmptyImmutableListMultimap INSTANCE = new EmptyImmutableListMultimap(); private EmptyImmutableListMultimap() { super(ImmutableMap.<Object, ImmutableList<Object>>of(), 0); } /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 18 16:48:17 UTC 2022 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
/** Creates an empty {@code CompactLinkedHashSet} instance. */ public static <E extends @Nullable Object> CompactLinkedHashSet<E> create() { return new CompactLinkedHashSet<>(); } /** * Creates a <i>mutable</i> {@code CompactLinkedHashSet} instance containing the elements of the * given collection in the order returned by the collection's iterator. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 00:15:47 UTC 2024 - 9.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
* instance. */ private final Map<Type, Integer> emptyInstanceGenerated = new HashMap<>(); final <T> void addSampleInstances(Class<T> type, Iterable<? extends T> instances) { sampleInstances.putAll(checkNotNull(type), checkNotNull(instances)); } /** * Returns a fresh instance for {@code type} if possible. The returned instance could be: * * <ul>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 28.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
internal fun <T> readFieldOrNull( instance: Any, fieldType: Class<T>, fieldName: String, ): T? { var c: Class<*> = instance.javaClass while (c != Any::class.java) { try { val field = c.getDeclaredField(fieldName) field.isAccessible = true val value = field.get(instance) return if (!fieldType.isInstance(value)) null else fieldType.cast(value)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 10.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
@CollectionFeature.Require(SUPPORTS_ADD) public void testAddAll_nullCollectionReference() { assertThrows(NullPointerException.class, () -> collection.addAll(null)); } /** * Returns the {@link Method} instance for {@link #testAddAll_nullUnsupported()} so that tests can * suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/site-replication/run-ssec-object-replication.sh
# sleep for replication to complete sleep 30 # Create bucket in source cluster echo "Create bucket in source MinIO instance" ./mc mb minio1/test-bucket --insecure # Load objects to source site echo "Loading objects to source MinIO instance" set -x ./mc cp /tmp/data/plainfile minio1/test-bucket --insecure
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
/** * Returns a representation of {@code a} as an instance of type {@code B}. If {@code a} cannot be * converted, an unchecked exception (such as {@link IllegalArgumentException}) should be thrown. * * @param a the instance to convert; will never be null * @return the converted instance; <b>must not</b> be null */ @ForOverride protected abstract B doForward(A a);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 23K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
K, V, StrongKeyStrongValueEntry<K, V>, StrongKeyStrongValueSegment<K, V>> { private static final Helper<?, ?> INSTANCE = new Helper<>(); @SuppressWarnings("unchecked") static <K, V> Helper<K, V> instance() { return (Helper<K, V>) INSTANCE; } @Override public Strength keyStrength() { return Strength.STRONG; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 90.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
* * <p>However, when {@link CollectionSize.Require} is used to annotate a test it behaves normally * (i.e. it requires the collection instance under test to be a certain size for the test to run). * Note that this means a test should not require more than one CollectionSize, since a particular * collection instance can only be one size at once. * * @author George van den Driessche */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.4K bytes - Viewed (0)