Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 1,184 for isinstance (0.07 sec)

  1. guava/src/com/google/common/util/concurrent/Futures.java

      public static <V extends @Nullable Object> ListenableFuture<V> immediateCancelledFuture() {
        ListenableFuture<Object> instance = ImmediateCancelledFuture.INSTANCE;
        if (instance != null) {
          return (ListenableFuture<V>) instance;
        }
        return new ImmediateCancelledFuture<>();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  2. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     *     processedCount.incrementAndGet();
     *     inFlight.remove(name);
     *     lastProcessed.set(name);
     *     logger.info("Done with {0}", name);
     *   }
     * }, executor);
     * }</pre>
     *
     * <h3>How to get an instance</h3>
     *
     * <p>We encourage you to return {@code ListenableFuture} from your methods so that your users can
     * take advantage of the {@linkplain Futures utilities built atop the class}. The way that you will
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ListenableFuture.java

     *     processedCount.incrementAndGet();
     *     inFlight.remove(name);
     *     lastProcessed.set(name);
     *     logger.info("Done with {0}", name);
     *   }
     * }, executor);
     * }</pre>
     *
     * <h3>How to get an instance</h3>
     *
     * <p>We encourage you to return {@code ListenableFuture} from your methods so that your users can
     * take advantage of the {@linkplain Futures utilities built atop the class}. The way that you will
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java

    import org.apache.maven.cling.invoker.mvn.DefaultMavenInvoker;
    
    /**
     * Local invoker implementation, when Maven CLI is being run. System uses ClassWorld launcher, and class world
     * instance is passed in via "enhanced" main method. Hence, this class expects fully setup ClassWorld via constructor.
     */
    public class DefaultResidentMavenInvoker
            extends DefaultMavenInvoker<
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

        mutableValueGraph.addNode("A");
        ImmutableValueGraph<String, Integer> immutableValueGraph =
            ImmutableValueGraph.copyOf(mutableValueGraph);
    
        assertThat(immutableValueGraph.asGraph()).isInstanceOf(ImmutableGraph.class);
        assertThat(immutableValueGraph).isNotInstanceOf(MutableValueGraph.class);
        assertThat(immutableValueGraph).isEqualTo(mutableValueGraph);
    
        mutableValueGraph.addNode("B");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

      // The first character in the safe range.
      private final char safeMin;
      // The last character in the safe range.
      private final char safeMax;
    
      /**
       * Creates a new ArrayBasedCharEscaper instance with the given replacement map and specified safe
       * range. If {@code safeMax < safeMin} then no characters are considered safe.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/ComponentUtil.java

         *
         * @param fessConfig fessConfig instance
         */
        public static void setFessConfig(final FessConfig fessConfig) {
            ComponentUtil.fessConfig = fessConfig;
            if (fessConfig == null) {
                systemHelper = null;
                FessProp.propMap.clear();
                componentMap.clear();
            }
        }
    
        public static void register(final Object instance, final String name) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

                        Multiset<String> result = TreeMultiset.create(NullsBeforeB.INSTANCE);
                        Collections.addAll(result, elements);
                        return result;
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        sort(insertionOrder, NullsBeforeB.INSTANCE);
                        return insertionOrder;
                      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            ComparableVersion c1 = new ComparableVersion("1");
            c1.parseVersion("2");
    
            Comparable<?> c2 = newComparable("2");
    
            assertEquals(c1, c2, "reused instance should be equivalent to new instance");
        }
    
        /**
         * Test <a href="https://issues.apache.org/jira/browse/MNG-7644">MNG-7644</a> edge cases
         * 1.0.0.RC1 &lt; 1.0.0-RC2 and more generally:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/resources/poms/inheritance/plugin-configuration-expected.xml

    specific language governing permissions and limitations
    under the License.
    -->
    
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
    
      <groupId>inheritance</groupId>
      <artifactId>child</artifactId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top