Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for equalsImpl (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

        FilteredSet(Set<E> unfiltered, Predicate<? super E> predicate) {
          super(unfiltered, predicate);
        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          return equalsImpl(this, object);
        }
    
        @Override
        public int hashCode() {
          return hashCodeImpl(this);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Lists.java

          hashCode = ~~hashCode;
          // needed to deal with GWT integer overflow
        }
        return hashCode;
      }
    
      /** An implementation of {@link List#equals(Object)}. */
      static boolean equalsImpl(List<?> thisList, @CheckForNull Object other) {
        if (other == checkNotNull(thisList)) {
          return true;
        }
        if (!(other instanceof List)) {
          return false;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  10. 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: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top