新增:IType(SHORT、LONG、DOUBLE)

This commit is contained in:
绝尘 2024-04-08 22:35:55 +08:00
parent 7ce9b4012a
commit af44804282
2 changed files with 10 additions and 4 deletions

View File

@ -6,7 +6,7 @@
<groupId>net.tccn</groupId> <groupId>net.tccn</groupId>
<artifactId>zhub-client-spring</artifactId> <artifactId>zhub-client-spring</artifactId>
<version>0.1.3.dev</version> <version>17.0.0408.dev</version>
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>

View File

@ -7,13 +7,19 @@ import java.util.Map;
public interface IType { public interface IType {
TypeToken<String> STRING = new TypeToken<String>() { TypeToken<String> STRING = new TypeToken<>() {
}; };
TypeToken<Integer> INT = new TypeToken<Integer>() { TypeToken<Short> SHORT = new TypeToken<>() {
};
TypeToken<Integer> INT = new TypeToken<>() {
};
TypeToken<Long> LONG = new TypeToken<>() {
};
TypeToken<Double> DOUBLE = new TypeToken<>() {
}; };
TypeToken<Map<String, String>> MAP = new TypeToken<Map<String, String>>() { TypeToken<Map<String, String>> MAP = new TypeToken<>() {
}; };
TypeToken<List<Map<String, String>>> LMAP = new TypeToken<List<Map<String, String>>>() { TypeToken<List<Map<String, String>>> LMAP = new TypeToken<List<Map<String, String>>>() {