Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 2,391 for set (0.01 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java

    public class AbstractSetTester<E> extends AbstractCollectionTester<E> {
      /*
       * Previously we had a field named set that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
       * value of set or collection but not both.
       */
      protected final Set<E> getSet() {
        return (Set<E>) collection;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        }
    
        @Override
        int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) {
          // Only trust the size of `values` if it is a Set and therefore probably already deduplicated.
          if (values instanceof Set<?>) {
            Set<?> collection = (Set<?>) values;
            return max(defaultExpectedValues, collection.size());
          } else {
            return defaultExpectedValues;
          }
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>Note that if {@code s} is a {@code Set<String>}, then {@code ImmutableSortedSet.copyOf(s)}
       * returns an {@code ImmutableSortedSet<String>} containing each of the strings in {@code s},
       * while {@code ImmutableSortedSet.of(s)} returns an {@code ImmutableSortedSet<Set<String>>}
       * containing one element (the given set itself).
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/InvalidatableSet.java

          Set<E> delegate, Supplier<Boolean> validator, Supplier<String> errorMessage) {
        return new InvalidatableSet<>(
            checkNotNull(delegate), checkNotNull(validator), checkNotNull(errorMessage));
      }
    
      @Override
      protected Set<E> delegate() {
        validate();
        return delegate;
      }
    
      private InvalidatableSet(
          Set<E> delegate, Supplier<Boolean> validator, Supplier<String> errorMessage) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

          NavigableSet<E> set = (NavigableSet<E>) sortedSet;
          if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) {
            return set.headSet(lastInclusive, true);
          } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) {
            return set.tailSet(firstExclusive, false);
          } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) {
            return set.subSet(firstExclusive, false, lastExclusive, false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java

        protected Set<String> excludedArtifacts;
    
        private final Set<String> coreArtifacts;
    
        @Inject
        public DefaultArtifactFilterManager(List<ArtifactFilterManagerDelegate> delegates, CoreExports coreExports) {
            this.delegates = delegates;
            this.coreArtifacts = coreExports.getExportedArtifacts();
        }
    
        private synchronized Set<String> getExcludedArtifacts() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

         *            the fileInformationClass to set
         */
        public void setFileInformationClass(final byte fileInformationClass) {
            this.fileInformationClass = fileInformationClass;
        }
    
        /**
         * Sets the query flags for the directory enumeration
         *
         * @param queryFlags
         *            the queryFlags to set
         */
        public void setQueryFlags(final byte queryFlags) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

            this.artifact = artifact;
    
            return this;
        }
    
        public ArtifactResolutionRequest setArtifactDependencies(Set<Artifact> artifactDependencies) {
            this.artifactDependencies = artifactDependencies;
    
            return this;
        }
    
        public Set<Artifact> getArtifactDependencies() {
            return artifactDependencies;
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

    import java.util.AbstractMap;
    import java.util.AbstractSet;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.function.BiFunction;
    import java.util.function.Function;
    import java.util.function.Predicate;
    
    /**
     * This should be removed when https://bugs.openjdk.org/browse/JDK-8323729
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 07 11:47:42 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multiset.java

      // Views
    
      /**
       * Returns the set of distinct elements contained in this multiset. The element set is backed by
       * the same data as the multiset, so any change to either is immediately reflected in the other.
       * The order of the elements in the element set is unspecified.
       *
       * <p>If the element set supports any removal operations, these necessarily cause <b>all</b>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
Back to top