Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 237 for CONSTRUCTOR (0.25 sec)

  1. mockwebserver-junit5/README.md

        ...
      }
    }
    ```
    
    Alternately you may add the [MockWebServer] as a constructor parameter:
    
    ```
    class MyTest {
      private final MockWebServer server;
    
      MyTest(MockWebServer server) {
        this.server = server;
      }
    
      @Test
      void test() {
        ...
      }
    }
    ```
    
    Constructor injection is particularly concise in Kotlin:
    
    ```
    class MyTest(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetCookieJar.kt

     *
     * Callers should prefer to use [okhttp3.java.net.cookiejar.JavaNetCookieJar] directly.
     */
    class JavaNetCookieJar private constructor(
      delegate: okhttp3.java.net.cookiejar.JavaNetCookieJar,
    ) : CookieJar by delegate {
      constructor(cookieHandler: CookieHandler) : this(
        okhttp3.java.net.cookiejar.JavaNetCookieJar(
          cookieHandler,
        ),
      )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/evaluationSchema/InterpretationSequence.kt

     */
    internal
    class SimpleInterpretationSequenceStepWithConversion private constructor(
        override val stepIdentifier: InterpretationSequenceStep.StepIdentifier,
        override val features: Set<InterpretationStepFeature> = emptySet(),
        buildEvaluationAndConversionSchema: () -> EvaluationAndConversionSchema
    ) : InterpretationSequenceStepWithConversion<Any> {
    
        constructor(
            stepIdentifierString: String,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

       *     constructor that omits the cause.
       */
      @Deprecated
      protected UncheckedExecutionException() {}
    
      /**
       * Creates a new instance with the given detail message and no cause.
       *
       * @deprecated Prefer {@linkplain UncheckedExecutionException(String, Throwable)} a constructor
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLocalClosure.ir.txt

          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CodeFragment
          CONSTRUCTOR visibility:public <> () returnType:<root>.CodeFragment [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          FUN name:run visibility:public modality:FINAL <> () returnType:kotlin.Unit
            EXPRESSION_BODY
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/pointers/SymbolPointerExceptions.kt

        public constructor(klass: KClass<*>) : this(klass.java.simpleName)
    }
    
    public class UnsupportedSymbolKind(identifier: String, kind: KaSymbolKind) : IllegalStateException(
        "For symbol with kind = KaSymbolKind.${kind.name} was $identifier"
    ) {
        public constructor(clazz: KClass<*>, kind: KaSymbolKind) : this(clazz.java.simpleName, kind)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 908 bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/annotationUsage.ir.txt

          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CodeFragment
          CONSTRUCTOR visibility:public <> () returnType:<root>.CodeFragment [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          FUN name:run visibility:public modality:FINAL <> () returnType:kotlin.Int
            EXPRESSION_BODY
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 962 bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/deprecationFromLibrary.kt

        get() = field
        set(value) {
            field = value
        }
    
    @Deprecated("Deprecated function")
    fun deprecatedFunction() {
    
    }
    
    class MyClassWithDeprecatedConstructor @Deprecated("Deprecated constructor") constructor()
    
    // MODULE: main(lib)
    // FILE: usage.kt
    package one
    
    fun usage(
        deprecatedClass: MyDeprecatedClass,
        deprecatedTypealias: MyDeprecatedTypeAlias,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Mar 06 16:13:09 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/secondClassContextReceiver.ir.txt

          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CodeFragment
          CONSTRUCTOR visibility:public <> () returnType:<root>.CodeFragment [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          FUN name:run visibility:public modality:FINAL <> (p0:<root>.Test) returnType:kotlin.Int
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Apr 26 06:04:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/multipleClassContextReceivers.ir.txt

          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CodeFragment
          CONSTRUCTOR visibility:public <> () returnType:<root>.CodeFragment [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          FUN name:run visibility:public modality:FINAL <> (p0:<root>.Test, p1:<root>.Test) returnType:kotlin.Int
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Apr 26 06:04:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top