Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FromString (0.12 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

            @Override
            public boolean canConvert(Class<?> type) {
                return Path.class.equals(type);
            }
    
            @Override
            protected Object fromString(String value) throws ComponentConfigurationException {
                return Paths.get(value.replace('/' == File.separatorChar ? '\\' : '/', File.separatorChar));
            }
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashCode.java

       * lenient {@code base 16} decoding, please use {@link com.google.common.io.BaseEncoding#decode}
       * (and pass the result to {@link #fromBytes}).
       *
       * @since 15.0
       */
      public static HashCode fromString(String string) {
        checkArgument(
            string.length() >= 2, "input string (%s) must have at least 2 characters", string);
        checkArgument(
            string.length() % 2 == 0,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/HashCode.java

       * lenient {@code base 16} decoding, please use {@link com.google.common.io.BaseEncoding#decode}
       * (and pass the result to {@link #fromBytes}).
       *
       * @since 15.0
       */
      public static HashCode fromString(String string) {
        checkArgument(
            string.length() >= 2, "input string (%s) must have at least 2 characters", string);
        checkArgument(
            string.length() % 2 == 0,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedInts.java

       * @since 13.0
       */
      @CanIgnoreReturnValue
      public static int decode(String stringValue) {
        ParseRequest request = ParseRequest.fromString(stringValue);
    
        try {
          return parseUnsignedInt(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/UnsignedInts.java

       * @since 13.0
       */
      @CanIgnoreReturnValue
      public static int decode(String stringValue) {
        ParseRequest request = ParseRequest.fromString(stringValue);
    
        try {
          return parseUnsignedInt(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 21:17:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top