Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,390 for _Equal (0.2 sec)

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

       *     #hasNext()}
       */
      @ParametricNullness
      E peek();
    
      /**
       * {@inheritDoc}
       *
       * <p>The objects returned by consecutive calls to {@link #peek()} then {@link #next()} are
       * guaranteed to be equal to each other.
       */
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      E next();
    
      /**
       * {@inheritDoc}
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashing.java

        int lastEntryIndex = -1;
        do {
          int entryIndex = next - 1;
          int entry = entries[entryIndex];
          if (getHashPrefix(entry, mask) == hashPrefix
              && Objects.equal(key, keys[entryIndex])
              && (values == null || Objects.equal(value, values[entryIndex]))) {
            int newNext = getNext(entry, mask);
            if (lastEntryIndex == -1) {
              // we need to update the root link from table[]
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 02 21:41:22 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SetMultimap.java

      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
       * Equality does not depend on the ordering of keys or values.
       *
       * <p>An empty {@code SetMultimap} is equal to any other empty {@code Multimap}, including an
       * empty {@code ListMultimap}.
       */
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/SetMultimap.java

      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
       * Equality does not depend on the ordering of keys or values.
       *
       * <p>An empty {@code SetMultimap} is equal to any other empty {@code Multimap}, including an
       * empty {@code ListMultimap}.
       */
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java

      @CheckForNull
      protected abstract Object handleInvocation(Object proxy, Method method, @Nullable Object[] args)
          throws Throwable;
    
      /**
       * By default delegates to {@link Object#equals} so instances are only equal if they are
       * identical. {@code proxy.equals(argument)} returns true if:
       *
       * <ul>
       *   <li>{@code proxy} and {@code argument} are of the same type
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

          assertFalse(
              "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(),
              equal(getMap().get(entry.getKey()), entry.getValue()));
        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        boolean errorNotThrown = false;
        try {
          SerializableTester.reserializeAndAssert(orig);
          errorNotThrown = true;
        } catch (AssertionFailedError error) {
          // expected
          assertContains("must be equal to the Object#hashCode", error.getMessage());
        }
        assertFalse(errorNotThrown);
      }
    
      public void testObjectWhichIsEqualButChangesClass() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        boolean errorNotThrown = false;
        try {
          SerializableTester.reserializeAndAssert(orig);
          errorNotThrown = true;
        } catch (AssertionFailedError error) {
          // expected
          assertContains("must be equal to the Object#hashCode", error.getMessage());
        }
        assertFalse(errorNotThrown);
      }
    
      public void testObjectWhichIsEqualButChangesClass() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

          assertFalse(
              "Should not contain key " + entry.getKey() + " mapped to value " + entry.getValue(),
              equal(getMap().get(entry.getKey()), entry.getValue()));
        }
      }
    
      private static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // This one-liner saves us from some ugly casts
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashing.java

        int lastEntryIndex = -1;
        do {
          int entryIndex = next - 1;
          int entry = entries[entryIndex];
          if (getHashPrefix(entry, mask) == hashPrefix
              && Objects.equal(key, keys[entryIndex])
              && (values == null || Objects.equal(value, values[entryIndex]))) {
            int newNext = getNext(entry, mask);
            if (lastEntryIndex == -1) {
              // we need to update the root link from table[]
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 02 21:41:22 UTC 2021
    - 7.1K bytes
    - Viewed (0)
Back to top