Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for instanceOf (0.27 sec)

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

        if (!(o instanceof Entry)) {
          return false;
        }
        return c.remove(unmodifiableEntry((Entry<?, ?>) o));
      }
    
      /** An implementation of {@link Map#equals}. */
      static boolean equalsImpl(Map<?, ?> map, @CheckForNull Object object) {
        if (map == object) {
          return true;
        } else if (object instanceof Map) {
          Map<?, ?> o = (Map<?, ?>) object;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

                }
            } else if (tree.inDomainDfs &&
                            !(request instanceof NtTransQuerySecurityDesc) &&
                            !(request instanceof SmbComClose) &&
                            !(request instanceof SmbComFindClose2)) {
                throw new SmbException(NtStatus.NT_STATUS_NOT_FOUND, false);
            } else {
                if (request != null)
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  3. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    use isA(Class type) instead. A shortcut to the frequently used is(instanceOf(SomeClass.class)). For example: assertThat(cheese, is(Cheddar.class)) instead of: assertThat(cheese, is(instanceOf(Cheddar.class))) isA public static <T> Matcher<T> isA(java.lang.Class<T> type) A shortcut to the frequently used is(instanceOf(SomeClass.class)). For example: assertThat(cheese, isA(Cheddar.class)) instead of: assertThat(cheese, is(instanceOf(Cheddar.class))) anything public static Matcher<java.lang.Object>...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 236.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertFalse(map.values() instanceof Set);
        assertTrue(map.values().removeAll(ImmutableSet.of("bar")));
        assertEquals(1, map.size());
      }
    
      public void testComputeIfAbsent_RemovalListener() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertFalse(map.values() instanceof Set);
        assertTrue(map.values().removeAll(ImmutableSet.of("bar")));
        assertEquals(1, map.size());
      }
    
      public void testCopyEntry_computing() {
        final CountDownLatch startSignal = new CountDownLatch(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

            return lockedGetOrLoad(key, hash, loader);
          } catch (ExecutionException ee) {
            Throwable cause = ee.getCause();
            if (cause instanceof Error) {
              throw new ExecutionError((Error) cause);
            } else if (cause instanceof RuntimeException) {
              throw new UncheckedExecutionException(cause);
            }
            throw ee;
          } finally {
            postReadCleanup();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/LocalCache.java

            return lockedGetOrLoad(key, hash, loader);
          } catch (ExecutionException ee) {
            Throwable cause = ee.getCause();
            if (cause instanceof Error) {
              throw new ExecutionError((Error) cause);
            } else if (cause instanceof RuntimeException) {
              throw new UncheckedExecutionException(cause);
            }
            throw ee;
          } finally {
            postReadCleanup();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  8. api/maven-api-model/src/main/mdo/maven.mdo

              <code>
                <![CDATA[
        /**
         * @see java.lang.Object#equals(java.lang.Object)
         */
        public boolean equals(Object other) {
            if (other instanceof Plugin) {
                Plugin otherPlugin = (Plugin) other;
                return getKey().equals(otherPlugin.getKey());
            }
            return false;
        }
    
        /**
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  9. src/main/webapp/js/bootstrap.min.js.map

    {\n      return null\n    }\n\n    // Can find the shadow root otherwise it'll return the document\n    if (typeof element.getRootNode === 'function') {\n      const root = element.getRootNode()\n      return root instanceof ShadowRoot ? root : null\n    }\n\n    if (element instanceof ShadowRoot) {\n      return element\n    }\n\n    // when we don't find a shadow root\n    if (!element.parentNode) {\n      return null\n    }\n\n    return Util.findShadowRoot(element.parentNode)\n  },\n\n  jQueryDetection()...
    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Jan 11 06:54:28 GMT 2020
    - 189.9K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/bootstrap.min.js.map

    {\n      return null\n    }\n\n    // Can find the shadow root otherwise it'll return the document\n    if (typeof element.getRootNode === 'function') {\n      const root = element.getRootNode()\n      return root instanceof ShadowRoot ? root : null\n    }\n\n    if (element instanceof ShadowRoot) {\n      return element\n    }\n\n    // when we don't find a shadow root\n    if (!element.parentNode) {\n      return null\n    }\n\n    return Util.findShadowRoot(element.parentNode)\n  }\n}\n\nsetT...
    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 185.8K bytes
    - Viewed (0)
Back to top