Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 1,484 for setA (0.02 seconds)

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

            && hashCode() != object.hashCode()) {
          return false;
        }
        return Sets.equalsImpl(this, object);
      }
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(this);
      }
    
      // This declaration is needed to make Set.iterator() and
      // ImmutableCollection.iterator() consistent.
      @Override
      public abstract UnmodifiableIterator<E> iterator();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java

    @NullUnmarked
    public final class SetsFilterSortedSetTest
        extends AbstractFilteredSortedSetTest<SortedSet<Integer>> {
      @Override
      SortedSet<Integer> createUnfiltered(Iterable<Integer> contents) {
        TreeSet<Integer> result = Sets.newTreeSet(contents);
        // we have to make the result not Navigable
        return new ForwardingSortedSet<Integer>() {
          @Override
          protected SortedSet<Integer> delegate() {
            return result;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/MapMaker.java

        checkState(keyEquivalence == null, "key equivalence was already set to %s", keyEquivalence);
        keyEquivalence = checkNotNull(equivalence);
        this.useCustomMap = true;
        return this;
      }
    
      Equivalence<Object> getKeyEquivalence() {
        return MoreObjects.firstNonNull(keyEquivalence, getKeyStrength().defaultEquivalence());
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ForwardingSet.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A set which forwards all its method calls to another set. Subclasses should override one or more
     * methods to modify the behavior of the backing set as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/SetMultimap.java

     * common to all multimaps.
     *
     * <p>The {@link #get}, {@link #removeAll}, and {@link #replaceValues} methods each return a {@link
     * Set} of values, while {@link #entries} returns a {@code Set} of map entries. Though the method
     * signature doesn't say so explicitly, the map returned by {@link #asMap} has {@code Set} values.
     *
     * <p>If the values corresponding to a single key should be ordered according to a {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/SetMultimap.java

     * common to all multimaps.
     *
     * <p>The {@link #get}, {@link #removeAll}, and {@link #replaceValues} methods each return a {@link
     * Set} of values, while {@link #entries} returns a {@code Set} of map entries. Though the method
     * signature doesn't say so explicitly, the map returned by {@link #asMap} has {@code Set} values.
     *
     * <p>If the values corresponding to a single key should be ordered according to a {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      }
    
      static class MyServerExampleWithFrq implements Closeable {
        private static final FinalizableReferenceQueue frq = new FinalizableReferenceQueue();
    
        private static final Set<Reference<?>> references = Sets.newConcurrentHashSet();
    
        private final ServerSocket serverSocket;
    
        private MyServerExampleWithFrq() throws IOException {
          this.serverSocket = new ServerSocket(0);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Feb 27 21:20:19 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/xml/SAXParserUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Sets a specific property on the base implementation of {@link XMLReader}.
         *
         * @param parser
         *            The {@link SAXParser} on which the property is to be set. Must not be {@literal null}.
         * @param name
         *            The name of the property to be set. Must not be {@literal null} or an empty string.
         * @param value
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> set = of("a", "b");
        assertEquals(newHashSet("a", "b"), set);
      }
    
      public void testCreation_threeElements() {
        Set<String> set = of("a", "b", "c");
        assertEquals(newHashSet("a", "b", "c"), set);
      }
    
      public void testCreation_fourElements() {
        Set<String> set = of("a", "b", "c", "d");
        assertEquals(newHashSet("a", "b", "c", "d"), set);
      }
    
      public void testCreation_fiveElements() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

      }
    
      /**
       * Atomically sets the element at position {@code i} to the given value.
       *
       * @param i the index
       * @param newValue the new value
       */
      public final void set(int i, double newValue) {
        long next = doubleToRawLongBits(newValue);
        longs.set(i, next);
      }
    
      /**
       * Eventually sets the element at position {@code i} to the given value.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top