Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 1,653 for connection (0.12 sec)

  1. android/guava/src/com/google/common/collect/MultimapBuilder.java

          @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);
          }
        };
      }
    
      private static final class ArrayListSupplier<V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/Helpers.java

          K key, V value) {
        return singletonMap(key, value).entrySet().iterator().next();
      }
    
      private static boolean isEmpty(Iterable<?> iterable) {
        return iterable instanceof Collection
            ? ((Collection<?>) iterable).isEmpty()
            : !iterable.iterator().hasNext();
      }
    
      public static void assertEmpty(Iterable<?> iterable) {
        if (!isEmpty(iterable)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api;
    
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.plugin.descriptor.PluginDescriptor;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathTransformation.java

        /**
         * Transform Graph into a Collection of metadata objects that
         * could serve as a classpath for a particular scope
         *
         * @param dirtyGraph - dependency graph
         * @param scope - which classpath to extract
         * @param resolve - whether to resolve artifacts.
         * @return Collection of metadata objects in the linked subgraph of the graph which
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    
    /**
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultResolutionErrorHandler implements ResolutionErrorHandler {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Longs.java

       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       * @since 1.0 (parameter was {@code Collection<Long>} before 12.0)
       */
      public static long[] toArray(Collection<? extends Number> collection) {
        if (collection instanceof LongArrayAsList) {
          return ((LongArrayAsList) collection).toLongArray();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Map<NonSerializableClass, String> map =
            RegularImmutableMap.fromEntries(ImmutableMap.entryOf(new NonSerializableClass(), "value"));
        Collection<String> collection = map.values();
    
        LenientSerializableTester.reserializeAndAssertElementsEqual(collection);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testValuesCollectionIsSerializable_jdkBackedImmutableMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/HashMultimapGwtSerializationDependencies.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import java.util.Map;
    
    @GwtCompatible(emulated = true)
    abstract class HashMultimapGwtSerializationDependencies<K, V> extends AbstractSetMultimap<K, V> {
      HashMultimapGwtSerializationDependencies(Map<K, Collection<V>> map) {
        super(map);
      }
    
      K dummyKey;
      V dummyValue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 15 19:08:05 UTC 2017
    - 997 bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/LinkedHashMultimapGwtSerializationDependencies.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import java.util.Map;
    
    @GwtCompatible(emulated = true)
    abstract class LinkedHashMultimapGwtSerializationDependencies<K, V>
        extends AbstractSetMultimap<K, V> {
      LinkedHashMultimapGwtSerializationDependencies(Map<K, Collection<V>> map) {
        super(map);
      }
    
      K dummyKey;
      V dummyValue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 15 19:08:05 UTC 2017
    - 1013 bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractMultiset.java

       * Multiset}.
       */
      @CanIgnoreReturnValue
      @Override
      public final boolean addAll(Collection<? extends E> elementsToAdd) {
        return Multisets.addAllImpl(this, elementsToAdd);
      }
    
      @CanIgnoreReturnValue
      @Override
      public final boolean removeAll(Collection<?> elementsToRemove) {
        return Multisets.removeAllImpl(this, elementsToRemove);
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
Back to top