Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for equalsImpl (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava/src/com/google/common/collect/ImmutableMap.java

        @GwtIncompatible // serialization
        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        return Maps.equalsImpl(this, object);
      }
    
      abstract boolean isPartialView();
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(entrySet());
      }
    
      boolean isHashCodeFast() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

        @GwtIncompatible // serialization
        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        return Maps.equalsImpl(this, object);
      }
    
      abstract boolean isPartialView();
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(entrySet());
      }
    
      boolean isHashCodeFast() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Synchronized.java

          }
        }
    
        @Override
        public boolean equals(@CheckForNull Object o) {
          if (o == this) {
            return true;
          }
          synchronized (mutex) {
            return Sets.equalsImpl(delegate(), o);
          }
        }
    
        @Override
        public boolean remove(@CheckForNull Object o) {
          synchronized (mutex) {
            return Maps.removeEntryImpl(delegate(), o);
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Synchronized.java

          }
        }
    
        @Override
        public boolean equals(@CheckForNull Object o) {
          if (o == this) {
            return true;
          }
          synchronized (mutex) {
            return Sets.equalsImpl(delegate(), o);
          }
        }
    
        @Override
        public boolean remove(@CheckForNull Object o) {
          synchronized (mutex) {
            return Maps.removeEntryImpl(delegate(), o);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
Back to top