Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 374 for Constructors (0.05 seconds)

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

        @SuppressWarnings({"unchecked", "rawtypes"}) // needed for arrays
        public Collection<Integer>[] createValueArray(int length) {
          return new ImmutableSet[length];
        }
      }
    
      /**
       * Useless constructor for a class of static utility methods.
       *
       * @deprecated Do not instantiate this utility class.
       */
      @Deprecated
      public MapGenerators() {}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/util/concurrent/AbstractService.java

       *
       * <p>To update this field correctly the lock must be held to guarantee that the state is
       * consistent.
       */
      private volatile StateSnapshot snapshot = new StateSnapshot(NEW);
    
      /** Constructor for use by subclasses. */
      protected AbstractService() {}
    
      /**
       * This method is called by {@link #startAsync} to initiate service startup. The invocation of
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

            this.repositorySystem = requireNonNull(repositorySystem);
            this.scopeManager = new ScopeManagerImpl(Maven4ScopeManagerConfiguration.INSTANCE);
        }
    
        /**
         * Package protected constructor, only for use with {@link MavenRepositorySystemUtils}.
         */
        @Deprecated
        MavenSessionBuilderSupplier() {
            this.repositorySystem = null;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

              triggerShutdown();
            }
    
            @Override
            public String toString() {
              return AbstractExecutionThreadService.this.toString();
            }
          };
    
      /** Constructor for use by subclasses. */
      protected AbstractExecutionThreadService() {}
    
      /**
       * Start the service. This method is invoked on the execution thread.
       *
       * <p>By default this method does nothing.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/AbstractNetwork.java

     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     * @since 20.0
     */
    @Beta
    public abstract class AbstractNetwork<N, E> implements Network<N, E> {
      /** Constructor for use by subclasses. */
      public AbstractNetwork() {}
    
      @Override
      public Graph<N> asGraph() {
        return new AbstractGraph<N>() {
          @Override
          public Set<N> nodes() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 10K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

     * @param <V> the type of mapped values used the maps under test
     * @author George van den Driessche
     */
    // TODO: Descriptive assertion messages, with hints as to probable fixes.
    // TODO: Add another constructor parameter indicating whether the class under test is ordered, and
    // check the order if so.
    // TODO: Refactor to share code with SetTestBuilder etc.
    @GwtCompatible
    @NullMarked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

         */
        public static UpgradeContext createMockContext(Path workingDirectory, UpgradeOptions options) {
            InvokerRequest request = mock(InvokerRequest.class);
    
            // Mock all required properties for LookupContext constructor
            when(request.cwd()).thenReturn(workingDirectory);
            when(request.installationDirectory()).thenReturn(Paths.get("/maven"));
            when(request.userHomeDirectory()).thenReturn(Paths.get("/home/user"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/escape/CharEscaper.java

     *
     * @author Sven Mawson
     * @since 15.0
     */
    @GwtCompatible
    @SuppressWarnings("EscapedEntity") // We do mean for the user to see "&lt;" etc.
    public abstract class CharEscaper extends Escaper {
      /** Constructor for use by subclasses. */
      protected CharEscaper() {}
    
      /**
       * Returns the escaped form of a given literal string.
       *
       * @param string the literal string to be escaped
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        @SuppressWarnings({"unchecked", "rawtypes"}) // needed for arrays
        public Collection<Integer>[] createValueArray(int length) {
          return new ImmutableSet[length];
        }
      }
    
      /**
       * Useless constructor for a class of static utility methods.
       *
       * @deprecated Do not instantiate this utility class.
       */
      @Deprecated
      public MapGenerators() {}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

    import okio.BufferedSource
    import okio.Sink
    import okio.Socket
    import okio.Source
    import okio.Timeout
    
    /** A logical bidirectional stream. */
    @Suppress("NAME_SHADOWING")
    class Http2Stream internal constructor(
      val id: Int,
      val connection: Http2Connection,
      outFinished: Boolean,
      inFinished: Boolean,
      headers: Headers?,
    ) : Lockable,
      Socket {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 22.4K bytes
    - Click Count (0)
Back to Top