Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 294 for Instantiate (0.1 seconds)

  1. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            findClassesToTest(loadClassesInPackage(), SERIALIZABLE_TEST_METHOD_NAMES)) {
          if (Serializable.class.isAssignableFrom(classToTest)) {
            try {
              Object instance = tester.instantiate(classToTest);
              if (instance != null) {
                if (isEqualsDefined(classToTest)) {
                  SerializableTester.reserializeAndAssert(instance);
                } else {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

    import java.util.NoSuchElementException;
    import org.junit.Ignore;
    
    /**
     * Tester for navigation of SortedMultisets.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

      /**
       * A helper to create a new {@code ListenableFuture} whose result is generated from a combination
       * of input futures.
       *
       * <p>See {@link #whenAllComplete} and {@link #whenAllSucceed} for how to instantiate this class.
       *
       * <p>Example:
       *
       * {@snippet :
       * final ListenableFuture<Instant> loginDateFuture =
       *     loginService.findLastLoginDate(username);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 64.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      /**
       * A builder of a {@link ClosingFuture} step that is derived from more than one input step.
       *
       * <p>See {@link #whenAllComplete(Iterable)} and {@link #whenAllSucceed(Iterable)} for how to
       * instantiate this class.
       *
       * <p>Example:
       *
       * {@snippet :
       * final ClosingFuture<BufferedReader> file1ReaderFuture = ...;
       * final ClosingFuture<BufferedReader> file2ReaderFuture = ...;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 13:51:27 GMT 2025
    - 96.9K bytes
    - Click Count (0)
  5. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    Runtime decoration mixes in methods that use Groovy Closures to maintain consistent behavior in Groovy DSL.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Mar 10 20:38:06 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/scope/MojoExecutionScoped.java

    import com.google.inject.ScopeAnnotation;
    
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that annotated component should be instantiated before mojo execution starts and discarded after mojo
     * execution completes.
     *
     * @since 3.1.2
     */
    @Target({TYPE})
    @Retention(RUNTIME)
    @ScopeAnnotation
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/SessionScoped.java

    import com.google.inject.ScopeAnnotation;
    
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that annotated component should be instantiated before session execution starts
     * and discarded after session execution completes.
     *
     * @since 3.2.0
     */
    @Target({TYPE})
    @Retention(RUNTIME)
    @ScopeAnnotation
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt

    import org.gradle.api.tasks.Internal
    import org.gradle.work.DisableCachingByDefault
    import java.io.File
    import kotlin.io.path.invariantSeparatorsPathString
    
    
    @DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly")
    abstract class SubprojectsInfo : DefaultTask() {
    
        private
        val rootPath = project.layout.projectDirectory.asFile.toPath()
    
        private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Mar 10 01:32:13 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. api/maven-api-di/src/main/java/org/apache/maven/api/di/SessionScoped.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that annotated component should be instantiated before session execution starts
     * and discarded after session execution completes.
     * <p>
     * A {@code org.apache.maven.api.Session} object is available in the scope of this annotation.
     *
     * @since 4.0.0
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 12 06:14:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  10. api/maven-api-di/src/main/java/org/apache/maven/api/di/Singleton.java

    import java.lang.annotation.Retention;
    
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Denotes that a bean should be created as a singleton instance.
     * <p>
     * Singleton-scoped beans are instantiated once and reused throughout the entire
     * Maven execution. This scope should be used for stateless services or components
     * that can be safely shared across the entire build process.
     * <p>
     * Example usage:
     * <pre>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top