Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 375 for functional (0.18 sec)

  1. guava-tests/test/com/google/common/collect/ListsTest.java

      private static final List<String> SOME_STRING_LIST = asList("1", "2", "3", "4");
    
      private static final Function<Number, String> SOME_FUNCTION = new SomeFunction();
    
      private static class SomeFunction implements Function<Number, String>, Serializable {
        @Override
        public String apply(Number n) {
          return String.valueOf(n);
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/expressionTypeProvider/Fe10IdeNormalAnalysisSourceModuleHLExpressionTypeTestGenerated.java

        }
    
        @Test
        @TestMetadata("functionCall.kt")
        public void testFunctionCall() {
          runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionCall.kt");
        }
    
        @Test
        @TestMetadata("functionCall_invalid.kt")
        public void testFunctionCall_invalid() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:25:50 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      }
    
      /**
       * A function from an input to a result.
       *
       * @param <T> the type of the input to the function
       * @param <U> the type of the result of the function
       */
      public interface ClosingFunction<T extends @Nullable Object, U extends @Nullable Object> {
    
        /**
         * Applies this function to an input, or throws an exception if unable to do so.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Tables.java

              V,
              I extends Table<R, C, V>>
          Collector<T, ?, I> toTable(
              java.util.function.Function<? super T, ? extends R> rowFunction,
              java.util.function.Function<? super T, ? extends C> columnFunction,
              java.util.function.Function<? super T, ? extends V> valueFunction,
              java.util.function.Supplier<I> tableSupplier) {
        return TableCollectors.<T, R, C, V, I>toTable(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        try {
          Multimaps.index((List<Integer>) values, Functions.identity());
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testIndex_nullKey() {
        List<Integer> values = Arrays.asList(1, 2);
        try {
          Multimaps.index(values, Functions.constant(null));
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10FunctionalType.kt

    import org.jetbrains.kotlin.analysis.api.types.KtType
    import org.jetbrains.kotlin.analysis.api.types.KtTypeNullability
    import org.jetbrains.kotlin.builtins.*
    import org.jetbrains.kotlin.builtins.functions.FunctionClassDescriptor
    import org.jetbrains.kotlin.builtins.functions.isSuspendOrKSuspendFunction
    import org.jetbrains.kotlin.name.ClassId
    import org.jetbrains.kotlin.types.SimpleType
    
    internal class KtFe10FunctionalType(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/sql-databases.md

    ```
    
    !!! tip
        By creating functions that are only dedicated to interacting with the database (get a user or an item) independent of your *path operation function*, you can more easily reuse them in multiple parts and also add <abbr title="Automated tests, written in code, that check if another piece of code is working correctly.">unit tests</abbr> for them.
    
    ### Create data
    
    Now create utility functions to create data.
    
    The steps are:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MultimapsTest.java

        try {
          Multimaps.index((List<Integer>) values, Functions.identity());
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testIndex_nullKey() {
        List<Integer> values = Arrays.asList(1, 2);
        try {
          Multimaps.index(values, Functions.constant(null));
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
  9. cmd/metrics-v3-types.go

    	Descriptors []MetricDescriptor
    	// (Optional) Extra (constant) label KV pairs to be added to each metric in
    	// the group.
    	ExtraLabels map[string]string
    
    	// Loader functions to load metrics. Only one of these will be set. Metrics
    	// returned by these functions must be present in the `Descriptors` list.
    	loader       MetricsLoaderFn
    	bucketLoader BucketMetricsLoaderFn
    
    	// Cache for all metrics groups. Set via `.SetCache` method.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         * For example, `foo.Foo.bar` may only refer to the extension callable `bar` with
         * a `foo.Foo` receiver type, and this function will only look for such combinations.
         *
         * N.B. This function only searches for extension callables qualified by receiver types!
         * It does not try to resolve fully qualified or member functions, because they are dealt
         * with by the other parts of [KDocReferenceResolver].
         */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top