Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 474 for contained (0.04 sec)

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

       */
      Collection<V> get(@ParametricNullness K key);
    
      /**
       * Returns a view collection of all <i>distinct</i> keys contained in this multimap. Note that the
       * key set contains a key if and only if this multimap maps that key to at least one value.
       *
       * <p>Changes to the returned set will update the underlying multimap, and vice versa. However,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        boolean contained = false;
        if (actual instanceof Collection) {
          contained = ((Collection<?>) actual).contains(expected);
        } else {
          for (Object o : actual) {
            if (equal(o, expected)) {
              contained = true;
              break;
            }
          }
        }
    
        if (!contained) {
          fail("Not true that " + actual + " contains " + expected);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       * </ol>
       *
       * @param multimap the presumed-immutable multimap
       * @param sampleKey a key of the same type as that contained by {@code multimap}. {@code multimap}
       *     may or may not have {@code sampleKey} as a key.
       * @param sampleValue a key of the same type as that contained by {@code multimap}. {@code
       *     multimap} may or may not have {@code sampleValue} as a key.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Comparators.java

      }
    
      /**
       * Returns a comparator of {@link Optional} values which treats {@link Optional#empty} as less
       * than all other values, and orders the rest using {@code valueComparator} on the contained
       * value.
       *
       * @since 22.0 (but only since 33.4.0 in the Android flavor)
       */
      public static <T> Comparator<Optional<T>> emptiesFirst(Comparator<? super T> valueComparator) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multiset.java

      /**
       * Determines whether this multiset contains the specified element.
       *
       * <p>This method refines {@link Collection#contains} to further specify that it <b>may not</b>
       * throw an exception in response to {@code element} being null or of the wrong type.
       *
       * @param element the element to check for
       * @return {@code true} if this multiset contains at least one occurrence of the element
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Graphs.java

      }
    
      // Graph copy methods
    
      /**
       * Returns the subgraph of {@code graph} induced by {@code nodes}. This subgraph is a new graph
       * that contains all of the nodes in {@code nodes}, and all of the {@link Graph#edges() edges}
       * from {@code graph} for which both nodes are contained by {@code nodes}.
       *
       * @throws IllegalArgumentException if any element in {@code nodes} is not a node in the graph
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/Graphs.java

      }
    
      // Graph copy methods
    
      /**
       * Returns the subgraph of {@code graph} induced by {@code nodes}. This subgraph is a new graph
       * that contains all of the nodes in {@code nodes}, and all of the {@link Graph#edges() edges}
       * from {@code graph} for which both nodes are contained by {@code nodes}.
       *
       * @throws IllegalArgumentException if any element in {@code nodes} is not a node in the graph
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multiset.java

      /**
       * Determines whether this multiset contains the specified element.
       *
       * <p>This method refines {@link Collection#contains} to further specify that it <b>may not</b>
       * throw an exception in response to {@code element} being null or of the wrong type.
       *
       * @param element the element to check for
       * @return {@code true} if this multiset contains at least one occurrence of the element
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/SLinkedList.java

         */
        public boolean isEmpty() {
            return size == 0;
        }
    
        /**
         * Checks if an element is contained in the list.
         *
         * @param element the element
         * @return true if the element is contained in the list, false otherwise
         */
        public boolean contains(final E element) {
            return indexOf(element) != -1;
        }
    
        /**
         * Removes an element from the list.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

        setHashTableMask(newMask);
        return newMask;
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        if (needsAllocArrays()) {
          return false;
        }
        Set<E> delegate = delegateOrNull();
        if (delegate != null) {
          return delegate.contains(object);
        }
        int hash = smearedHash(object);
        int mask = hashTableMask();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
Back to top