Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 1,653 for connection (0.17 sec)

  1. guava/src/com/google/common/collect/AbstractMultimap.java

        for (Collection<V> collection : asMap().values()) {
          if (collection.contains(value)) {
            return true;
          }
        }
    
        return false;
      }
    
      @Override
      public boolean containsEntry(@CheckForNull Object key, @CheckForNull Object value) {
        Collection<V> collection = asMap().get(key);
        return collection != null && collection.contains(value);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          @SuppressWarnings("unchecked")
          K[] keysArray = (K[]) elements;
    
          // Start with a suitably shaped collection of entries
          Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length);
    
          // Create a copy of that, with the desired value for each key
          Collection<Entry<K, V>> entries = new ArrayList<>(elements.length);
          int i = 0;
          for (Entry<K, V> entry : originalEntries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return standardRemove(object);
        }
    
        @Override
        public boolean removeAll(Collection<?> collection) {
          return standardRemoveAll(collection);
        }
    
        @Override
        public boolean retainAll(Collection<?> collection) {
          return standardRetainAll(collection);
        }
    
        @Override
        public int size() {
          return standardSize();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

      public interface CollectionsImplEnum {
        <E extends Comparable<E>> Collection<E> create(Collection<E> contents);
    
        String name();
      }
    
      public interface MapsImplEnum {
        <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> contents);
    
        String name();
      }
    
      public interface InternerImplEnum {
        <E> Interner<E> create(Collection<E> contents);
    
        String name();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. test-site/activator-launch-1.3.2.jar

    int); public final boolean sameElements$125f61d2$235bbcb(scala.collection.IterableLike); public final scala.collection.immutable.Stream toStream(); public final boolean canEqual(Object); public final scala.collection.mutable.Builder newBuilder(); public final scala.collection.mutable.Builder genericBuilder(); public final Object repr(); public final boolean isTraversableAgain(); public final Object map(scala.Function1, scala.collection.generic.CanBuildFrom); public final Object flatMap(scala.Function1,...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       * </ol>
       *
       * @param collection the presumed-immutable collection
       * @param sampleElement an element of the same type as that contained by {@code collection}.
       *     {@code collection} may or may not have {@code sampleElement} as a member.
       */
      public static <E extends @Nullable Object> void assertCollectionIsUnmodifiable(
          Collection<E> collection, E sampleElement) {
        Collection<E> siblingCollection = new ArrayList<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

          K key = entry.getKey();
          V value = entry.getValue();
          Collection<V> collection = multimap().get(key);
          assertNotNull(collection);
          Collection<V> expectedCollection = copyToList(collection);
    
          multimap().remove(key, value);
          expectedCollection.remove(value);
    
          assertEqualIgnoringOrder(expectedCollection, collection);
          assertEquals(!expectedCollection.isEmpty(), multimap().containsKey(key));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

          K key = entry.getKey();
          V value = entry.getValue();
          Collection<V> collection = multimap().get(key);
          assertNotNull(collection);
          Collection<V> expectedCollection = copyToList(collection);
    
          multimap().remove(key, value);
          expectedCollection.remove(value);
    
          assertEqualIgnoringOrder(expectedCollection, collection);
          assertEquals(!expectedCollection.isEmpty(), multimap().containsKey(key));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      public void testAddAll_supportedSomePresent() {
        assertTrue(
            "addAll(somePresent) should return true",
            collection.addAll(MinimalCollection.of(e3(), e0())));
        assertTrue("should contain " + e3(), collection.contains(e3()));
        assertTrue("should contain " + e0(), collection.contains(e0()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

      protected Collection<Method> suppressForSingletonSet() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForHashSet() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForLinkedHashSet() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForEnumSet() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForSynchronizedNavigableSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top