Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 2,250 for contains (0.05 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          for (int i = 0; i < startIndex; i++) {
            previousElements.push(nextElements.pop());
          }
        }
    
        @Override
        public void add(E e) {
          if (!features.contains(IteratorFeature.SUPPORTS_ADD)) {
            throw PermittedMetaException.UOE;
          }
    
          previousElements.push(e);
          stackWithLastReturnedElementAtTop = null;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

          queryList.addAll(tmp.subList(0, extras));
        }
    
        // now add bad queries
        while (queryList.size() < numQueries) {
          Element candidate = newElement();
          if (!elementsInSet.contains(candidate)) {
            queryList.add(candidate);
          }
        }
        shuffle(queryList, random);
        return queryList.toArray(new Element[0]);
      }
    
      private Set<Element> createData() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RegularImmutableSet.java

        this.elements = elements;
        this.hashCode = hashCode;
        this.table = table;
        this.mask = mask;
      }
    
      @Override
      public boolean contains(@CheckForNull Object target) {
        @Nullable Object[] table = this.table;
        if (target == null || table.length == 0) {
          return false;
        }
        for (int i = Hashing.smearedHash(target); ; i++) {
          i &= mask;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultType.java

            properties.put(
                    MavenArtifactProperties.CONSTITUTES_BUILD_PATH,
                    String.valueOf(this.pathTypes.contains(JavaPathType.CLASSES)));
            this.properties = Collections.unmodifiableMap(properties);
        }
    
        @Override
        public String id() {
            return id;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

            given:
            newBase.addInterface(interfaces[type])
    
            when:
            Violation violation = rule.maybeViolation(apiClass)
    
            then:
            violation.humanExplanation.contains(result)
    
            where:
            type         | result
            'internal'   | "\"${replaceAsInternal(InternalInterface.name)}\""
            'incubating' | "\"${IncubatingInterface.name}\""
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         * Returns the file paths of all dependencies, regardless on which tool option those paths should be placed.
         * The returned list may contain a mix of Java class-path, Java module-path, and other types of path elements.
         * This collection has the same content than {@code getDependencies.values()} except that it does not contain
         * null elements.
         *
         * @return the paths of all dependencies
         */
        @Nonnull
        List<Path> getPaths();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

          ImmutableSortedSet<E> original = (ImmutableSortedSet<E>) elements;
          if (!original.isPartialView()) {
            return original;
          }
        }
        @SuppressWarnings("unchecked") // elements only contains E's; it's safe.
        E[] array = (E[]) Iterables.toArray(elements);
        return construct(comparator, array.length, array);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

          return standardAddAll(index, elements);
        }
    
        @Override
        public void clear() {
          standardClear();
        }
    
        @Override
        public boolean contains(Object object) {
          return standardContains(object);
        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return standardContainsAll(collection);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

          return standardAddAll(collection);
        }
    
        @Override
        public void clear() {
          standardClear();
        }
    
        @Override
        public boolean contains(@Nullable Object object) {
          return standardContains(object);
        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return standardContainsAll(collection);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ParametricNullness.java

     *       you can set {@code
     *       -XepOpt:NullAway:CustomNullableAnnotations=com.google.common.base.ParametricNullness,...,com.google.common.util.concurrent.ParametricNullness},
     *       where the {@code ...} contains the names of all the other {@code ParametricNullness}
     *       annotations in Guava. Or you might prefer to omit Guava from your {@code AnnotatedPackages}
     *       list.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
Back to top