Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for shortValue (0.08 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            return calibrateCpuLoad(0L);
        }
    
        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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  7. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
Back to top