Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,782 for instanceOf (0.09 sec)

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

        Set<String> keySet = map.keySet();
        assertTrue(keySet instanceof SynchronizedSet);
        assertSame(mutex, ((SynchronizedSet<?>) keySet).mutex);
      }
    
      public void testValues() {
        Map<String, Integer> map = create();
        Collection<Integer> values = map.values();
        assertTrue(values instanceof SynchronizedCollection);
        assertSame(mutex, ((SynchronizedCollection<?>) values).mutex);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Synchronized.java

          Collection<E> collection, @CheckForNull Object mutex) {
        if (collection instanceof SortedSet) {
          return sortedSet((SortedSet<E>) collection, mutex);
        }
        if (collection instanceof Set) {
          return set((Set<E>) collection, mutex);
        }
        if (collection instanceof List) {
          return list((List<E>) collection, mutex);
        }
        return collection(collection, mutex);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Synchronized.java

          Collection<E> collection, @CheckForNull Object mutex) {
        if (collection instanceof SortedSet) {
          return sortedSet((SortedSet<E>) collection, mutex);
        }
        if (collection instanceof Set) {
          return set((Set<E>) collection, mutex);
        }
        if (collection instanceof List) {
          return list((List<E>) collection, mutex);
        }
        return collection(collection, mutex);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/InversionArtifactFilter.java

            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (!(obj instanceof InversionArtifactFilter)) {
                return false;
            }
    
            InversionArtifactFilter other = (InversionArtifactFilter) obj;
    
            return toInvert.equals(other.toInvert);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

            IOException ioe = se;
            Throwable root = se.getCause();
            if ( root instanceof TransportException ) {
                ioe = (TransportException) root;
                root = ( (TransportException) ioe ).getCause();
            }
            if ( root instanceof InterruptedException ) {
                ioe = new InterruptedIOException(root.getMessage());
                ioe.initCause(root);
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            final Object value = document.get(fieldName);
            if (value instanceof String) {
                return new String[] { value.toString() };
            }
            if (value instanceof String[]) {
                return (String[]) value;
            }
            if (value instanceof List) {
                return ((List<?>) value).stream().map(Object::toString).toArray(n -> new String[n]);
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

            accessResultDataImpl.setTransformerName("xmlMapTransformer");
    
            final Object obj = xmlMapTransformer.getData(accessResultDataImpl);
            assertTrue(obj instanceof Map);
            final Map<String, String> map = (Map) obj;
            assertEquals("タイトル", map.get("title"));
            assertEquals("第一章 第一節 ほげほげふがふが LINK 第2章 第2節", map.get("body"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java

            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (!(obj instanceof ExclusionSetFilter)) {
                return false;
            }
    
            ExclusionSetFilter other = (ExclusionSetFilter) obj;
    
            return excludes.equals(other.excludes);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DfsImpl.java

                CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
                this._domains = entry;
                if ( tf.getConfig().isDfsStrictView() && ioe instanceof SmbAuthException ) {
                    throw (SmbAuthException) ioe;
                }
                return this._domains.map;
            }
            return null;
        }
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.java

            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (!(obj instanceof TypeArtifactFilter)) {
                return false;
            }
    
            TypeArtifactFilter other = (TypeArtifactFilter) obj;
    
            return type.equals(other.type);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top