Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,562 for INTEGER (0.04 seconds)

  1. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

        public void test_ofNullable_withInteger() {
            Integer testValue = 42;
            OptionalEntity<Integer> result = OptionalUtil.ofNullable(testValue);
    
            assertNotNull(result);
            assertTrue(result.isPresent());
            assertEquals(Integer.valueOf(42), result.get());
        }
    
        @Test
        public void test_ofNullable_withNullInteger() {
            Integer testValue = null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

        }
    
        /**
         * Converts to {@link Integer}.
         *
         * @param o
         *            The object to convert
         * @param pattern
         *            The pattern string
         * @return The converted {@link Integer}
         */
        public static Integer toInteger(final Object o, final String pattern) {
            return switch (o) {
            case null -> null;
            case Integer i -> i;
            case Number n -> n.intValue();
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/RegularImmutableSortedMapMapInterfaceTest.java

    @GwtCompatible
    @NullUnmarked
    public class RegularImmutableSortedMapMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makeEmptyMap() {
        return ImmutableSortedMap.of();
      }
    
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("one", 1, "two", 2, "three", 3);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

      /*
       * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using
       * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
       * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And
       * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/reflect/TypeResolverTest.java

            new TypeResolver()
                .where(
                    new TypeCapture<Map<Integer, T>>() {}.capture(),
                    new TypeCapture<Map<? extends Number, ? extends Number>>() {}.capture())
                .resolveType(subtype);
      }
    
      interface TypedKeyMap<T> extends Map<Integer, T> {}
    
      interface TypedListKeyMap<T> extends Map<List<Integer>, T> {}
    
      private static <T> Type aTypeVariable() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 9.8K bytes
    - Click Count (0)
  6. tests/test_param_in_path_and_dependency.py

                            "parameters": [
                                {
                                    "required": True,
                                    "schema": {"title": "User Id", "type": "integer"},
                                    "name": "user_id",
                                    "in": "path",
                                },
                            ],
                            "responses": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java

      }
    
      private final boolean allowsSelfLoops;
      private final ElementOrder<Integer> incidentEdgeOrder;
    
      public StandardMutableDirectedGraphTest(
          boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) {
        this.allowsSelfLoops = allowsSelfLoops;
        this.incidentEdgeOrder = incidentEdgeOrder;
      }
    
      @Override
      public MutableGraph<Integer> createGraph() {
        return GraphBuilder.directed()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java

      }
    
      private final boolean allowsSelfLoops;
      private final ElementOrder<Integer> incidentEdgeOrder;
    
      public StandardMutableDirectedGraphTest(
          boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) {
        this.allowsSelfLoops = allowsSelfLoops;
        this.incidentEdgeOrder = incidentEdgeOrder;
      }
    
      @Override
      public MutableGraph<Integer> createGraph() {
        return GraphBuilder.directed()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallTagsTest.kt

        assertThat(call.tag(String::class)).isEqualTo("a")
    
        // Check the Java-focused APIs.
        assertThat(call.tag(Integer::class) { 1 as Integer }).isEqualTo(1)
        assertThat(call.tag(Integer::class) { 2 as Integer }).isEqualTo(1)
        assertThat(call.tag(Integer::class)).isEqualTo(1)
      }
    
      @Test
      fun computedTagsAreNotRetainedInClone() {
        val request =
          Request
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Oct 26 14:54:46 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/TablesTransformValuesRowTest.java

      }
    
      @Override
      Table<Character, String, Integer> makeTable() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        return transformValues(table, TableCollectionTest.DIVIDE_BY_2);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        table.put('a', "one", 2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.6K bytes
    - Click Count (0)
Back to Top