Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for isCompatible (0.22 sec)

  1. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        BloomFilter<Integer> bf2 = BloomFilter.create(Funnels.integerFunnel(), 10);
    
        assertFalse(bf1.isCompatible(bf2));
        assertThrows(
            IllegalArgumentException.class,
            () -> {
              bf1.putAll(bf2);
            });
    
        assertFalse(bf2.isCompatible(bf1));
        assertThrows(
            IllegalArgumentException.class,
            () -> {
              bf2.putAll(bf1);
            });
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        BloomFilter<Integer> bf2 = BloomFilter.create(Funnels.integerFunnel(), 10);
    
        assertFalse(bf1.isCompatible(bf2));
        assertThrows(
            IllegalArgumentException.class,
            () -> {
              bf1.putAll(bf2);
            });
    
        assertFalse(bf2.isCompatible(bf1));
        assertThrows(
            IllegalArgumentException.class,
            () -> {
              bf2.putAll(bf1);
            });
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/BloomFilter.java

       *   <li>have the same strategy
       *   <li>have equal funnels
       * </ul>
       *
       * @param that The Bloom filter to check for compatibility.
       * @since 15.0
       */
      public boolean isCompatible(BloomFilter<T> that) {
        checkNotNull(that);
        return this != that
            && this.numHashFunctions == that.numHashFunctions
            && this.bitSize() == that.bitSize()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  4. okhttp/api/jvm/okhttp.api

    	public final fun -deprecated_tlsVersions ()Ljava/util/List;
    	public final fun cipherSuites ()Ljava/util/List;
    	public fun equals (Ljava/lang/Object;)Z
    	public fun hashCode ()I
    	public final fun isCompatible (Ljavax/net/ssl/SSLSocket;)Z
    	public final fun isTls ()Z
    	public final fun supportsTlsExtensions ()Z
    	public final fun tlsVersions ()Ljava/util/List;
    	public fun toString ()Ljava/lang/String;
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  5. okhttp/api/android/okhttp.api

    	public final fun -deprecated_tlsVersions ()Ljava/util/List;
    	public final fun cipherSuites ()Ljava/util/List;
    	public fun equals (Ljava/lang/Object;)Z
    	public fun hashCode ()I
    	public final fun isCompatible (Ljavax/net/ssl/SSLSocket;)Z
    	public final fun isTls ()Z
    	public final fun supportsTlsExtensions ()Z
    	public final fun tlsVersions ()Ljava/util/List;
    	public fun toString ()Ljava/lang/String;
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/LongMathTest.java

      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeSmall() {
        // Check the first 1000 integers
        for (int i = 2; i < 1000; i++) {
          assertEquals(BigInteger.valueOf(i).isProbablePrime(100), LongMath.isPrime(i));
        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeManyConstants() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
     *   <li>comparing each object against an instance of an incompatible class returns false
     *   <li>comparing each pair of objects within the same equality group returns true
     *   <li>comparing each pair of objects from different equality groups returns false
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/EqualsTester.java

     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
     *   <li>comparing each object against an instance of an incompatible class returns false
     *   <li>comparing each pair of objects within the same equality group returns true
     *   <li>comparing each pair of objects from different equality groups returns false
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicates.java

       * {@code Pattern.compile(pattern).matcher(arg).find()}
       *
       * @throws IllegalArgumentException if the pattern is invalid
       * @since 3.0
       */
      @GwtIncompatible // Only used by other GWT-incompatible code.
      public static Predicate<CharSequence> containsPattern(String pattern) {
        return new ContainsPatternFromStringPredicate(pattern);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMapValues.java

       * the backport does. For now, we're keeping the class declaration in *both* flavors so that both
       * flavors can read old data or data from the other flavor. However, we strongly discourage
       * relying on this, as we have made incompatible changes to serialized forms in the past and
       * expect to do so again, as discussed in https://github.com/google/guava#important-warnings.
       */
      @SuppressWarnings("unused")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top