Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 643 for isSame (0.03 sec)

  1. android/guava-tests/test/com/google/common/collect/RangeTest.java

        // enclosed with same start
        assertEquals(range, range.span(Range.closed(4, 6)));
    
        // enclosed, interior
        assertEquals(range, range.span(Range.closed(5, 7)));
    
        // enclosed with same end
        assertEquals(range, range.span(Range.closed(6, 8)));
    
        // equal
        assertEquals(range, range.span(range));
    
        // enclosing with same start
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      }
    
      /**
       * Returns an immutable bimap containing the given entries. The returned bimap iterates over
       * entries in the same order as the original iterable.
       *
       * @throws IllegalArgumentException if two keys have the same value or two values have the same
       *     key
       * @throws NullPointerException if any key, value, or entry is null
       * @since 19.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Equivalence.java

       *       (<i>symmetric</i> property)
       *   <li>If {@code equivalent(x, y)} and {@code equivalent(y, z)} are both true, then {@code
       *       equivalent(x, z)} is also true (<i>transitive</i> property)
       * </ul>
       *
       * <p>Note that all calls to {@code equivalent(x, y)} are expected to return the same result as
       * long as neither {@code x} nor {@code y} is modified.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            StopwordsItem item2 = new StopwordsItem(1, "test");
            StopwordsItem item3 = new StopwordsItem(2, "test");
            StopwordsItem item4 = new StopwordsItem(1, "different");
    
            // Same input should have same hashCode regardless of id
            assertEquals(item1.hashCode(), item2.hashCode());
            assertEquals(item1.hashCode(), item3.hashCode());
    
            // Different input should have different hashCode
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapEqualsTester<K, V> extends AbstractMapTester<K, V> {
      public void testEquals_otherMapWithSameEntries() {
        assertTrue(
            "A Map should equal any other Map containing the same entries.",
            getMap().equals(newHashMap(getSampleEntries())));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherMapWithDifferentEntries() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMap.java

            return new IllegalArgumentException(
                "Multiple entries with same key: " + key + "=" + value1 + " and " + key + "=" + value2);
          }
        }
      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}. The returned map iterates
       * over entries in the same order as the {@code entrySet} of the original map. If {@code map}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/BiMap.java

    /**
     * A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as
     * that of its keys. This constraint enables bimaps to support an "inverse view", which is another
     * bimap containing the same entries as this bimap but with reversed keys and values.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableBiMap}
     *   <li>{@link HashBiMap}
     *   <li>{@link EnumBiMap}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/RangeTest.java

        // enclosed with same start
        assertEquals(range, range.span(Range.closed(4, 6)));
    
        // enclosed, interior
        assertEquals(range, range.span(Range.closed(5, 7)));
    
        // enclosed with same end
        assertEquals(range, range.span(Range.closed(6, 8)));
    
        // equal
        assertEquals(range, range.span(range));
    
        // enclosing with same start
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/DiscreteDomain.java

    @GwtCompatible
    public abstract class DiscreteDomain<C extends Comparable> {
    
      /**
       * Returns the discrete domain for values of type {@code Integer}.
       *
       * <p>This method always returns the same object. That object is serializable; deserializing it
       * results in the same object too.
       *
       * @since 14.0 (since 10.0 as {@code DiscreteDomains.integers()})
       */
      public static DiscreteDomain<Integer> integers() {
        return IntegerDomain.INSTANCE;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/Hashing.java

        }
      }
    
      /**
       * Returns a hash code, having the same bit length as each of the input hash codes, that combines
       * the information of these hash codes in an ordered fashion. That is, whenever two equal hash
       * codes are produced by two calls to this method, it is <i>as likely as possible</i> that each
       * was computed from the <i>same</i> input hash codes in the <i>same</i> order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
Back to top