Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for stringValue (0.26 sec)

  1. android/guava/src/com/google/common/primitives/ParseRequest.java

      }
    
      static ParseRequest fromString(String stringValue) {
        if (stringValue.length() == 0) {
          throw new NumberFormatException("empty string");
        }
    
        // Handle radix specifier if present
        String rawValue;
        int radix;
        char firstChar = stringValue.charAt(0);
        if (stringValue.startsWith("0x") || stringValue.startsWith("0X")) {
          rawValue = stringValue.substring(2);
          radix = 16;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       */
      @CanIgnoreReturnValue
      public static long decode(String stringValue) {
        ParseRequest request = ParseRequest.fromString(stringValue);
    
        try {
          return parseUnsignedLong(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
              new NumberFormatException("Error parsing value: " + stringValue);
          decodeException.initCause(e);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            assertNull(dataStoreParams.get("nonexistent"));
        }
    
        // Test getAsString with String value
        public void test_getAsStringWithStringValue() {
            dataStoreParams.put("stringKey", "stringValue");
            assertEquals("stringValue", dataStoreParams.getAsString("stringKey"));
        }
    
        // Test getAsString with non-String value
        public void test_getAsStringWithNonStringValue() {
            dataStoreParams.put("intKey", 123);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedInts.java

       */
      @CanIgnoreReturnValue
      public static int decode(String stringValue) {
        ParseRequest request = ParseRequest.fromString(stringValue);
    
        try {
          return parseUnsignedInt(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
              new NumberFormatException("Error parsing value: " + stringValue);
          decodeException.initCause(e);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

        }
    
        public void test_setObject_withDifferentTypes() {
            // Test setObject with different object types
            try {
                WebApiUtil.setObject("stringValue", "test");
                WebApiUtil.setObject("intValue", 123);
                WebApiUtil.setObject("booleanValue", true);
                WebApiUtil.setObject("objectValue", new Object());
    
                // Test with collections
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top