Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 1,782 for instanceOf (0.15 sec)

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

          assertEquals(expected.contains(i), view.contains(i));
          assertEquals(expected.rangeContaining(i), view.rangeContaining(i));
        }
        testEnclosing(view);
        if (view instanceof TreeRangeSet) {
          testRangesByLowerBounds((TreeRangeSet<Integer>) view, expected.asRanges());
        }
      }
    
      private static final ImmutableList<Cut<Integer>> CUTS_TO_TEST;
    
      static {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

            this.b = b;
          }
    
          @Override
          public int hashCode() {
            return a;
          }
    
          @Override
          public boolean equals(@Nullable Object obj) {
            return obj instanceof TypeWithDuplicates && ((TypeWithDuplicates) obj).a == a;
          }
    
          public boolean fullEquals(@Nullable TypeWithDuplicates other) {
            return other != null && a == other.a && b == other.b;
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        @Override
        public void funnel(Long value, PrimitiveSink into) {
          into.putLong(value);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return (object instanceof CustomFunnel);
        }
    
        @Override
        public int hashCode() {
          return 42;
        }
      }
    
      public void testPutReturnValue() {
        for (int i = 0; i < 10; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

     */
        public boolean equals( Object obj ) {
            if( obj instanceof NtlmPasswordAuthentication ) {
                NtlmPasswordAuthentication ntlm = (NtlmPasswordAuthentication)obj;
                if( ntlm.domain.toUpperCase().equals( domain.toUpperCase() ) &&
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

                K, V, StrongKeyStrongValueEntry<K, V>, StrongKeyStrongValueSegment<K, V>> {
          private static final Helper<?, ?> INSTANCE = new Helper<>();
    
          @SuppressWarnings("unchecked")
          static <K, V> Helper<K, V> instance() {
            return (Helper<K, V>) INSTANCE;
          }
    
          @Override
          public Strength keyStrength() {
            return Strength.STRONG;
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/bootstrap.min.js

    +': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var l},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?d.findShadowRoot(t.parentNode):null},jQueryDetection:function(){if("undefined"==typeof o.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     *
     * OkHttp performs best when you create a single `OkHttpClient` instance and reuse it for all of
     * your HTTP calls. This is because each client holds its own connection pool and thread pools.
     * Reusing connections and threads reduces latency and saves memory. Conversely, creating a client
     * for each request wastes resources on idle pools.
     *
     * Use `new OkHttpClient()` to create a shared instance with the default settings:
     *
     * ```java
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedSet.java

        checkNotNull(comparator);
        boolean hasSameComparator = SortedIterables.hasSameComparator(comparator, elements);
    
        if (hasSameComparator && (elements instanceof ImmutableSortedSet)) {
          @SuppressWarnings("unchecked")
          ImmutableSortedSet<E> original = (ImmutableSortedSet<E>) elements;
          if (!original.isPartialView()) {
            return original;
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(IllegalStateException.class, () -> builder.removalListener(testListener));
      }
    
      public void testValuesIsNotASet() {
        assertFalse(CacheBuilder.newBuilder().build().asMap().values() instanceof Set);
      }
    
      @GwtIncompatible // CacheTesting
      public void testNullCache() {
        CountingRemovalListener<Object, Object> listener = countingRemovalListener();
        LoadingCache<Object, Object> nullCache =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * is based on the integer IP address and not the string representation.
     */ 
    
        public boolean equals( Object obj ) {
            return ( obj != null ) && ( obj instanceof NbtAddress ) &&
                                            ( ((NbtAddress)obj).address == address );
        }
    
    /** 
     * Returns the {@link java.lang.String} representaion of this address.
     */ 
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
Back to top