Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 110 for inequality (1.2 sec)

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

       * values.
       */
      Map<K, ValueDifference<V>> entriesDiffering();
    
      /**
       * Compares the specified object with this instance for equality. Returns {@code true} if the
       * given object is also a {@code MapDifference} and the values returned by the {@link
       * #entriesOnlyOnLeft()}, {@link #entriesOnlyOnRight()}, {@link #entriesInCommon()} and {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

            .addEqualityGroup(
                newDelegatingListWithEquals(LIST2),
                newProxyWithSubHandler1(LIST2), // Makes sure type of handler doesn't affect equality
                newProxyWithSubHandler2(LIST2))
            .addEqualityGroup(newDelegatingIterableWithEquals(LIST2)) // different interface
            .testEquals();
      }
    
      @SuppressWarnings("unchecked") // proxy of List<String>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

     * reflected in that iterator. These iterators never throw {@link ConcurrentModificationException}.
     *
     * <p><b>Note:</b> by default, the returned cache uses equality comparisons (the {@link
     * Object#equals equals} method) to determine equality for keys or values. However, if {@link
     * #weakKeys} was specified, the cache uses identity ({@code ==}) comparisons instead for keys.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SecurityBlobTest.java

            SecurityBlob right = new SecurityBlob(b);
    
            // Act & Assert
            assertTrue(left.equals(right), "Blobs with equal content should be equal");
            assertTrue(right.equals(left), "Equality should be symmetric for identical content");
        }
    
        // Demonstrates observed equals() asymmetry when this is shorter than argument
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingMap.java

     *
     * <p>Each of the {@code standard} methods, where appropriate, use {@link Objects#equals} to test
     * equality for both keys and values. This may not be the desired behavior for map implementations
     * that use non-standard notions of key equality, such as a {@code SortedMap} whose comparator is
     * not consistent with {@code equals}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/PairedStats.java

          checkState(yStats.sumOfSquaresOfDeltas() > 0.0);
          return LinearTransformation.vertical(xStats.mean());
        }
      }
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> This tests exact equality of the calculated statistics, including the floating
       * point values. Two instances are guaranteed to be considered equal if one is copied from the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      public void testTestEqualsEmptyLists() {
        equalsTester.addEqualityGroup(reference);
        equalsTester.testEquals();
      }
    
      /**
       * Test EqualsTester after populating equalObjects. This checks proper handling of equality and
       * verifies hashCode for valid objects
       */
      public void testTestEqualsEqualsObjects() {
        equalsTester.addEqualityGroup(reference, equalObject1, equalObject2);
        equalsTester.testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

        }
    
        static Stream<Arguments> equalsHashParams() {
            return Stream.of(
                    // byte[] id based equality (same id and tree id)
                    Arguments.of(new byte[] { 0x0A, 0x0B }, new byte[] { 0x0A, 0x0B }, 100L, true),
                    // fid based equality (null fileId, same fid and tree id)
                    Arguments.of(null, null, 200L, true));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractListMultimap.java

       * values.
       */
      @Override
      public Map<K, Collection<V>> asMap() {
        return super.asMap();
      }
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code ListMultimap} instances are equal if, for each key, they contain the same values
       * in the same order. If the value orderings disagree, the multimaps will not be considered equal.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

      /*
       * We are comparing Multimaps of the same type, so as long as they have value collections that
       * implement equals() (as with ListMultimap or SetMultimap, as opposed to a QueueMultimap or
       * something), our equality check is value-based.
       */
      @SuppressWarnings("UndefinedEquals")
      public void testRetainAllPropagatesToMultimap() {
        multimap().entries().retainAll(singleton(mapEntry(k0(), v0())));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top