Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 399 for contained (0.12 seconds)

  1. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  2. 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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  3. 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  4. android/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 33.4.0 (but since 22.0 in the JRE flavor)
       */
      @IgnoreJRERequirement // Users will use this only if they're already using Optional.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.5K bytes
    - Click Count (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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  6. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  7. 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
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  8. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

            } else {
              break@mergeAdjacent
            }
          }
        }
        i++
      }
      return ranges
    }
    
    /**
     * Returns a copy of [mappings], splitting to ensure that each mapping is entirely contained within
     * a single section.
     */
    internal fun withoutSectionSpans(mappings: List<Mapping>): List<Mapping> {
      val result = mutableListOf<Mapping>()
    
      val i = mappings.iterator()
      var current = i.next()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Collections2.java

      }
    
      /**
       * Returns {@code true} if the collection {@code self} contains all of the elements in the
       * collection {@code c}.
       *
       * <p>This method iterates over the specified collection {@code c}, checking each element returned
       * by the iterator in turn to see if it is contained in the specified collection {@code self}. If
       * all elements are so contained, {@code true} is returned, otherwise {@code false}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 23K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Sets.java

          }
        };
      }
    
      /**
       * Returns an unmodifiable <b>view</b> of the difference of two sets. The returned set contains
       * all elements that are contained by {@code set1} and not contained by {@code set2}. {@code set2}
       * may also contain elements not present in {@code set1}; these are simply ignored. The iteration
       * order of the returned set matches that of {@code set1}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
Back to Top