Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 67 for inequivalence (0.07 sec)

  1. guava/src/com/google/common/collect/Multisets.java

       * multiset1}, with repeated occurrences of the same element appearing consecutively.
       *
       * <p>Results are undefined if {@code multiset1} and {@code multiset2} are based on different
       * equivalence relations (as {@code HashMultiset} and {@code TreeMultiset} are).
       *
       * @since 14.0
       */
      public static <E extends @Nullable Object> Multiset<E> union(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

         * elements.
         *
         * <p><b>Warning:</b> this may have unexpected results if a backing set of this view uses a
         * nonstandard notion of equivalence, for example if it is a {@link TreeSet} using a comparator
         * that is inconsistent with {@link Object#equals(Object)}.
         */
        @SuppressWarnings("nullness") // Unsafe, but we can't fix it now.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      @Generates
      <T> Equivalence<T> generateEquivalence() {
        return new Equivalence<T>() {
          @Override
          protected boolean doEquivalent(T a, T b) {
            return false;
          }
    
          @Override
          protected int doHash(T t) {
            return 0;
          }
    
          final String string = paramString(Equivalence.class, generateInt());
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(0, ArbitraryInstances.get(Comparator.class).compare("abc", 123));
        assertTrue(ArbitraryInstances.get(Predicate.class).apply("abc"));
        assertTrue(ArbitraryInstances.get(Equivalence.class).equivalent(1, 1));
        assertFalse(ArbitraryInstances.get(Equivalence.class).equivalent(1, 2));
      }
    
      @SuppressWarnings("SelfComparison")
      public void testGet_comparable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Equivalence;
    import com.google.common.base.Function;
    import com.google.common.base.Joiner;
    import com.google.common.base.Predicate;
    import com.google.common.base.Splitter;
    import com.google.common.base.Ticker;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

      final Segment<K, V>[] segments;
    
      /** The concurrency level. */
      final int concurrencyLevel;
    
      /** Strategy for comparing keys. */
      final Equivalence<Object> keyEquivalence;
    
      /** Strategy for comparing values. */
      final Equivalence<Object> valueEquivalence;
    
      /** Strategy for referencing keys. */
      final Strength keyStrength;
    
      /** Strategy for referencing values. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ValueGraph.java

     * additional documentation, including:
     *
     * <ul>
     *   <li><a
     *       href="https://github.com/google/guava/wiki/GraphsExplained#equals-hashcode-and-graph-equivalence">
     *       {@code equals()}, {@code hashCode()}, and graph equivalence</a>
     *   <li><a href="https://github.com/google/guava/wiki/GraphsExplained#synchronization">
     *       Synchronization policy</a>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // initial capacity / concurrency level
        assertEquals(16 / map.segments.length, map.segments[0].table.length());
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
            new Equivalence<Object>() {
              @Override
              protected boolean doEquivalent(Object a, Object b) {
                return false;
              }
    
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // initial capacity / concurrency level
        assertEquals(16 / map.segments.length, map.segments[0].table.length());
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
            new Equivalence<Object>() {
              @Override
              protected boolean doEquivalent(Object a, Object b) {
                return false;
              }
    
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/Network.java

     * additional documentation, including:
     *
     * <ul>
     *   <li><a
     *       href="https://github.com/google/guava/wiki/GraphsExplained#equals-hashcode-and-graph-equivalence">
     *       {@code equals()}, {@code hashCode()}, and graph equivalence</a>
     *   <li><a href="https://github.com/google/guava/wiki/GraphsExplained#synchronization">
     *       Synchronization policy</a>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
Back to top