程序包 net.dongliu.commons
Common utils for java
-
接口概要 接口 说明 Lazy<T> Supplier that only compute value only once. -
类概要 类 说明 Arrays2 Utils for Array.Bytes Byte array utilsCharacters Utils for charsHexes Hex utils.Hexes.Decoder Hex decoder.Hexes.Encoder The class for configuring and performing hex encode, using fluent api.Joiner A immutable value class for joining strings.Objects2 Jdk already has one Objects class, So named as Objects2Objects2.ToStringHelper 已过时。 Optionals Utils method for OptionalPredications Utils for PredicationRateLimiter A very simple RateLimiter impl, For limiting ops count in specific time spanResources Utils method for accessing resource file in classpath, using the classloader that load this class.Result<T> A Result hold a non-null value, or a exception if error occurred.Sampler Utils for run code by sampling.Splitter A immutable value class for splitting strings, with plain raw string or regular expression delimiter.Stopwatch A tool for measuring elapsed time.Strings Utils methods for StringSystems Util methods to get sys properties.Throwables Utils method for throwable -
枚举概要 枚举 说明 Systems.OSType Operation system typeSystems.SpecificationVersion Java specification version