GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing tracholar.github.io — Guava apache-common指南 - Tracholar的个人wiki

Home » java » Guava apache-common指南
Guava apache-common指南
Table of Contents
  • 关于
  • StringUtils
  • RandomStringUtils
  • Date
    • DateUtils
    • DateFormatUtils
  • ExceptionUtils
  • math
    • Fraction 分数
    • NumberUtils
  • reflect

关于

  • 收集了一些Java常用的工具类,来自于 Guava 和 Apache-Common

StringUtils

  • org.apache.commons.lang3.StringUtils
  • 空字符、空白字符串判断 isEmpty isBlank etc
  • 去除空字符,trim, strip
  • 字符串截断 truncate
  • 字符串数组拼接 join
  • 删除子串 remove
  • 字符串替换 replace
  • 字符串距离 getLevenshteinDistance, getJaroWinklerDistance, `

RandomStringUtils

  • 随机字符串生成

Date

DateUtils

  • isSameDay
  • parseDate
  • addDays 日期、月份、等的计算
  • round 按照一定分辨率计算近似值
  • truncate 截断日期
  • ceiling
  • iterator 每个月的

DateFormatUtils

  • format

ExceptionUtils

  • getStackTrace

math

Fraction 分数

NumberUtils

reflect

created in 2020-04-01
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.