Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 2,446 for instanceOf (0.2 sec)

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

          Collection<E> collection, @Nullable 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 53K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Synchronized.java

          Collection<E> collection, @Nullable 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
  3. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharStreams.java

       * the {@link Writer#nullWriter()} method returns a new instance whose methods throw after the
       * instance is {@link Writer#close() closed}.
       *
       * @since 15.0
       */
      public static Writer nullWriter() {
        return NullWriter.INSTANCE;
      }
    
      private static final class NullWriter extends Writer {
    
        private static final NullWriter INSTANCE = new NullWriter();
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 13:56:24 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Cut.java

        }
        // same value. below comes before above
        return Boolean.compare(this instanceof AboveValue, that instanceof AboveValue);
      }
    
      C endpoint() {
        return endpoint;
      }
    
      @SuppressWarnings("unchecked") // catching CCE
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof Cut) {
          // It might not really be a Cut<C>, but we'll catch a CCE if it's not
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java

                checkIndirectOutputContains(objectExpr, mce);
            }
        }
    
        private void checkOutputContains(MethodCallExpression call) {
            ASTNode receiver = call.getReceiver();
            if (receiver instanceof PropertyExpression) {
                if (((PropertyExpression) receiver).getPropertyAsString().equals("output")) {
                    Expression objectExpr = ((PropertyExpression) receiver).getObjectExpression();
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

      }
    
      public static final class NullsBeforeB extends NullsBefore {
        public static final NullsBeforeB INSTANCE = new NullsBeforeB();
    
        private NullsBeforeB() {
          super("b");
        }
      }
    
      public static final class NullsBeforeTwo extends NullsBefore {
        public static final NullsBeforeTwo INSTANCE = new NullsBeforeTwo();
    
        private NullsBeforeTwo() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

                        Predicate<Exception> pluginArtifactNotFoundException = exc -> exc instanceof PluginManagerException
                                && exc.getCause() instanceof PluginResolutionException
                                && exc.getCause().getCause() instanceof ArtifactResolutionException
                                && exc.getCause().getCause().getCause() instanceof ArtifactNotFoundException;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableEnumSet.java

      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return delegate.contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
        if (collection instanceof ImmutableEnumSet<?>) {
          collection = ((ImmutableEnumSet<?>) collection).delegate;
        }
        return delegate.containsAll(collection);
      }
    
      @Override
      public boolean isEmpty() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

            final CrawlerStatsHelper crawlerStatsHelper = ComponentUtil.getCrawlerStatsHelper();
            final StatsKeyObject keyObj = paramMap.get(Constants.CRAWLER_STATS_KEY) instanceof final StatsKeyObject sko ? sko : null;
            if (keyObj != null) {
                crawlerStatsHelper.runOnThread(keyObj);
            }
            final DataStoreParams localParams = paramMap.newInstance();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 29.7K bytes
    - Viewed (3)
Back to top