tctc4869
V2EX  ›  Java

Java 中有现成的针对判定字符串内容是什么的工具 Util 包么

  •  
  •   tctc4869 · Mar 24, 2021 · 2441 views
    This topic created in 1876 days ago, the information mentioned may be changed or developed.

    如题。 经常要判断字符串是什么,例如数字( double,int,long,float ),bool,一些格式的字符串等。

    我想知道,有哪些框架拥有现成的,针对"判定字符串内容是什么"的工具包么

    10 replies    2021-04-19 10:13:33 +08:00
    Tsukihime
        1
    Tsukihime  
       Mar 24, 2021
    可以基于 Character.isXxxx 自己封装一个?
    kkkkkrua
        2
    kkkkkrua  
       Mar 24, 2021
    spring apache google,这几个包都没有?
    Oktfolio
        3
    Oktfolio  
       Mar 24, 2021
    hutools
    Oktfolio
        4
    Oktfolio  
       Mar 24, 2021
    hutool
    Jooooooooo
        5
    Jooooooooo  
       Mar 24, 2021
    试下 apache commons 里的 StringUtils
    securityCoding
        6
    securityCoding  
       Mar 24, 2021
    StringUtils
    NumberUtils
    tctc4869
        7
    tctc4869  
    OP
       Mar 24, 2021
    @Oktfolio 这个工具包框架听过,但是具体是在哪里?
    boris93
        8
    boris93  
       Mar 24, 2021 via iPhone
    有,记不得是 apache 还是 spring 的 StringUtils 里
    RedBeanIce
        9
    RedBeanIce  
       Mar 24, 2021
    mybatisplus 有,lang3 也有
    ychost
        10
    ychost  
       Apr 19, 2021
    apache 的 StringUtils yyds
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5457 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 05:52 · PVG 13:52 · LAX 22:52 · JFK 01:52
    ♥ Do have faith in what you're doing.