Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isDigit (0.19 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            }
        }
    
        private static Item parseItem(boolean isDigit, String buf) {
            return parseItem(false, isDigit, buf);
        }
    
        private static Item parseItem(boolean isCombination, boolean isDigit, String buf) {
            if (isCombination) {
                return new CombinationItem(buf.replace("-", ""));
            } else if (isDigit) {
                buf = stripLeadingZeroes(buf);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                    buildNumber = null;
                }
            }
        }
    
        private static boolean isDigits(String cs) {
            if (cs == null || cs.isEmpty()) {
                return false;
            }
            final int sz = cs.length();
            for (int i = 0; i < sz; i++) {
                if (!Character.isDigit(cs.charAt(i))) {
                    return false;
                }
            }
            return true;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:50:51 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top