A1.Mirana the Moon Princess
Original7/4/22MiranaUtilityLess than 1 minute
A1.Mirana the Moon Princess
![]()
POM(.xml), the moon princess, she has a sacred arrow and a big cat.
java8, 0-dependency, is an addition to guava, commons-*.
A1.1.How to use
① DIY clone and install is powerful.
② Using Maven Central is stable.
<dependency>
<groupId>pro.fessional</groupId>
<artifactId>mirana</artifactId>
<version>${mirana.version}</version>
</dependency>③ Using SNAPSHOT is the latest.
<repository>
<id>oss-sonatype</id>
<name>oss-sonatype</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>A1.2.Naming convention
- Null - The default value to replace null
null - None - the default value of empty
- Sugar - static thread-safe tool can be used as kotlin Syntax-Sugar
- Help - business-related or lifecycle helper class
- Util - static thread-safe tool class
A1.3.Version number
From 3.0.0, back to the standard 3-segment.
And before that, the version is sqrt + 3-segment, e.g. √2 are 1.4.0, 1.4.1, 1.4.14. If the version is not enough, then write infinitely 1.4.14213562373095
- √1 =
1.0.0 - √2 =
1.4.0,1.4.1,1.4.14 - √3 =
1.7.0,1.7.3,1.7.32 - √4 =
2.0.0 - √5 =
2.2.0,2.2.3,2.2.4 - √6 =
2.4.0,2.4.4,2.4.5 - √7 =
2.6.0,2.6.4,2.6.5
