Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,425 for equalTo (0.1 sec)

  1. android/guava/src/com/google/common/collect/Multiset.java

         * represent the same element and count. That is, two entries {@code a} and {@code b} are equal
         * if:
         *
         * <pre>{@code
         * Objects.equal(a.getElement(), b.getElement())
         *     && a.getCount() == b.getCount()
         * }</pre>
         */
        @Override
        // TODO(kevinb): check this wrt TreeMultiset?
        boolean equals(@CheckForNull Object o);
    
        /**
         * {@inheritDoc}
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

       * example, {@code [] < [1] < [1, 2] < [2]}.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
       * support only identity equality), but it is consistent with {@link Arrays#equals(int[], int[])}.
       *
       * @since 2.0
       */
      public static Comparator<int[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Table.java

        /**
         * Compares the specified object with this cell for equality. Two cells are equal when they have
         * equal row keys, column keys, and values.
         */
        @Override
        boolean equals(@CheckForNull Object obj);
    
        /**
         * Returns the hash code of this cell.
         *
         * <p>The hash code of a table cell is equal to {@link Objects#hashCode}{@code (e.getRowKey(),
         * e.getColumnKey(), e.getValue())}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingMultiset.java

        return delegate().elementSet();
      }
    
      @Override
      public Set<Entry<E>> entrySet() {
        return delegate().entrySet();
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Chars.java

       * array as the lesser. For example, {@code [] < ['a'] < ['a', 'b'] < ['b']}.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
       * support only identity equality), but it is consistent with {@link Arrays#equals(char[],
       * char[])}.
       *
       * @since 2.0
       */
      public static Comparator<char[]> lexicographicalComparator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multiset.java

         * represent the same element and count. That is, two entries {@code a} and {@code b} are equal
         * if:
         *
         * <pre>{@code
         * Objects.equal(a.getElement(), b.getElement())
         *     && a.getCount() == b.getCount()
         * }</pre>
         */
        @Override
        // TODO(kevinb): check this wrt TreeMultiset?
        boolean equals(@CheckForNull Object o);
    
        /**
         * {@inheritDoc}
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  7. guava/src/com/google/common/eventbus/Subscriber.java

      }
    
      @Override
      public final boolean equals(@CheckForNull Object obj) {
        if (obj instanceof Subscriber) {
          Subscriber that = (Subscriber) obj;
          // Use == so that different equal instances will still receive events.
          // We only guard against the case that the same object is registered
          // multiple times
          return target == that.target && method.equals(that.method);
        }
        return false;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Ordering.java

        return checkNotNull(ordering);
      }
    
      /**
       * Returns an ordering that compares objects according to the order in which they appear in the
       * given list. Only objects present in the list (according to {@link Object#equals}) may be
       * compared. This comparator imposes a "partial ordering" over the type {@code T}. Subsequent
       * changes to the {@code valuesInOrder} list will have no effect on the returned comparator. Null
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Ordering.java

        return checkNotNull(ordering);
      }
    
      /**
       * Returns an ordering that compares objects according to the order in which they appear in the
       * given list. Only objects present in the list (according to {@link Object#equals}) may be
       * compared. This comparator imposes a "partial ordering" over the type {@code T}. Subsequent
       * changes to the {@code valuesInOrder} list will have no effect on the returned comparator. Null
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/UniAddress.java

        }
    
    
        /**
         * Compare two addresses for equality. Two <tt>UniAddress</tt>s are equal
         * if they are both <tt>UniAddress</tt>' and refer to the same IP address.
         */
        @Override
        public boolean equals ( Object obj ) {
            return obj instanceof UniAddress && this.addr.equals( ( (UniAddress) obj ).addr);
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
Back to top