Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for shortValue (0.05 sec)

  1. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Short) {
                return (Short) o;
            } else if (o instanceof Number) {
                return ((Number) o).shortValue();
            } else if (o instanceof String) {
                return toShort((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals('\0', Defaults.defaultValue(char.class).charValue());
        assertEquals(0, Defaults.defaultValue(byte.class).byteValue());
        assertEquals(0, Defaults.defaultValue(short.class).shortValue());
        assertEquals(0, Defaults.defaultValue(int.class).intValue());
        assertEquals(0, Defaults.defaultValue(long.class).longValue());
        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals('\0', Defaults.defaultValue(char.class).charValue());
        assertEquals(0, Defaults.defaultValue(byte.class).byteValue());
        assertEquals(0, Defaults.defaultValue(short.class).shortValue());
        assertEquals(0, Defaults.defaultValue(int.class).intValue());
        assertEquals(0, Defaults.defaultValue(long.class).longValue());
        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

                } else if (value instanceof Integer || value instanceof Long) {
                    tempBuf.append(value);
                } else if (value instanceof Short) {
                    tempBuf.append(((Short) value).shortValue());
                } else if (value instanceof double[]) {
                    tempBuf.append(Arrays.toString((double[]) value));
                } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Shorts.java

        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Returns an array containing each value of {@code collection}, converted to a {@code short}
       * value in the manner of {@link Number#shortValue}.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Shorts.java

        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Returns an array containing each value of {@code collection}, converted to a {@code short}
       * value in the manner of {@link Number#shortValue}.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         */
        public boolean calibrateCpuLoad(final long timeoutInMillis) {
            final short percent = ComponentUtil.getFessConfig().getAdaptiveLoadControlAsInteger().shortValue();
            if (percent <= 0) {
                return true;
            }
            short current = getSystemCpuPercent();
            if (current < percent) {
                return true;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            int prevVal = 0;
            for (Map<String, Object> doc : docs) {
                int sortValue = Integer.parseInt(doc.get(sortField).toString());
                assertTrue(sortValue >= prevVal);
                prevVal = sortValue;
            }
        }
    
        @Test
        public void searchTestWithWildcard() throws Exception {
            String field = "filetype";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        }
                        if (pair.length == 2) {
                            String sortValue = pair[1].trim();
                            if (StringUtil.isBlank(sortValue) || "score".equals(sortValue)) {
                                sortValue = "score.desc";
                            }
                            return new Pair<>(pair[0].trim(), sortValue);
                        }
                        return null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
Back to top