新增:IType(SHORT、LONG、DOUBLE)
This commit is contained in:
parent
7ce9b4012a
commit
af44804282
2
pom.xml
2
pom.xml
@ -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>
|
||||||
|
@ -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>>>() {
|
||||||
|
Loading…
Reference in New Issue
Block a user