Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,257 for _Equal (0.11 sec)

  1. 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)
  2. guava/src/com/google/common/collect/FilteredMultimapValues.java

        for (Iterator<Entry<K, V>> unfilteredItr = multimap.unfiltered().entries().iterator();
            unfilteredItr.hasNext(); ) {
          Entry<K, V> entry = unfilteredItr.next();
          if (entryPredicate.apply(entry) && Objects.equal(entry.getValue(), o)) {
            unfilteredItr.remove();
            return true;
          }
        }
        return false;
      }
    
      @Override
      public boolean removeAll(Collection<?> c) {
        return Iterables.removeIf(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

       * (pointing to the nextEntry entry in the linked list). The pointers in [size(), entries.length)
       * are all "null" (UNSET).
       *
       * <p>A node with "prev" pointer equal to {@code ENDPOINT} is the first node in the linked list,
       * and a node with "nextEntry" pointer equal to {@code ENDPOINT} is the last node.
       */
      @VisibleForTesting transient long[] links;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Comparators.java

          Comparator<T> comparator) {
        return new LexicographicalOrdering<S>(checkNotNull(comparator));
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is greater than or
       * equal to the element that preceded it, according to the specified comparator. Note that this is
       * always true when the iterable has fewer than two elements.
       */
      public static <T extends @Nullable Object> boolean isInOrder(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 08:42:51 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top