Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for equalsImpl (0.16 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

        return delegate.toArray(other);
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      // TODO(cpovirk): equals(), as well, in case it's any faster than Sets.equalsImpl?
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingList.java

       * #equals(Object)} to forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardEquals(@CheckForNull Object object) {
        return Lists.equalsImpl(this, object);
      }
    
      /**
       * A sensible definition of {@link #hashCode} in terms of {@link #iterator}. If you override
       * {@link #iterator}, you may wish to override {@link #hashCode} to forward to this
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingList.java

       * #equals(Object)} to forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardEquals(@CheckForNull Object object) {
        return Lists.equalsImpl(this, object);
      }
    
      /**
       * A sensible definition of {@link #hashCode} in terms of {@link #iterator}. If you override
       * {@link #iterator}, you may wish to override {@link #hashCode} to forward to this
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingMap.java

       * forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardEquals(@CheckForNull Object object) {
        return Maps.equalsImpl(this, object);
      }
    
      /**
       * A sensible definition of {@link #hashCode} in terms of the {@code iterator} method of {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingMultiset.java

       * override {@link #equals} to forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardEquals(@CheckForNull Object object) {
        return Multisets.equalsImpl(this, object);
      }
    
      /**
       * A sensible definition of {@link #hashCode} as {@code entrySet().hashCode()} . If you override
       * {@link #entrySet}, you may wish to override {@link #hashCode} to forward to this
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMultiset.java

       * override {@link #equals} to forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardEquals(@CheckForNull Object object) {
        return Multisets.equalsImpl(this, object);
      }
    
      /**
       * A sensible definition of {@link #hashCode} as {@code entrySet().hashCode()} . If you override
       * {@link #entrySet}, you may wish to override {@link #hashCode} to forward to this
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

          }
        };
      }
    
      @Override
      public ImmutableList<E> asList() {
        return this;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return Lists.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        return Lists.hashCodeImpl(this);
      }
    
      public ImmutableList<E> reverse() {
        List<E> list = Lists.newArrayList(this);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Tables.java

          Table<R, C, V> synchronizedTable(Table<R, C, V> table) {
        return Synchronized.table(table, null);
      }
    
      static boolean equalsImpl(Table<?, ?, ?> table, @CheckForNull Object obj) {
        if (obj == table) {
          return true;
        } else if (obj instanceof Table) {
          Table<?, ?, ?> that = (Table<?, ?, ?>) obj;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableList.java

        @GwtIncompatible // serialization
        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        return Lists.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        int hashCode = 1;
        int n = size();
        for (int i = 0; i < n; i++) {
          hashCode = 31 * hashCode + get(i).hashCode();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multisets.java

          String text = String.valueOf(getElement());
          int n = getCount();
          return (n == 1) ? text : (text + " x " + n);
        }
      }
    
      /** An implementation of {@link Multiset#equals}. */
      static boolean equalsImpl(Multiset<?> multiset, @CheckForNull Object object) {
        if (object == multiset) {
          return true;
        }
        if (object instanceof Multiset) {
          Multiset<?> that = (Multiset<?>) object;
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top