forked from fanruan/finekit
richie
5 years ago
7 changed files with 191 additions and 3 deletions
@ -0,0 +1,19 @@
|
||||
package com.fanruan.api.conf.impl; |
||||
|
||||
import java.util.Collection; |
||||
|
||||
/** |
||||
* @author richie |
||||
* @version 10.0 |
||||
* Created by richie on 2019-08-19 |
||||
*/ |
||||
public class ColConf<T extends Collection> extends com.fr.config.holder.impl.ColConf<Collection> { |
||||
|
||||
public ColConf(String property, Collection collection, Class valueType) { |
||||
super(property, collection, valueType); |
||||
} |
||||
|
||||
public ColConf(Collection collection, Class valueType) { |
||||
super(collection, valueType); |
||||
} |
||||
} |
@ -0,0 +1,19 @@
|
||||
package com.fanruan.api.conf.impl; |
||||
|
||||
import java.util.Map; |
||||
|
||||
/** |
||||
* @author richie |
||||
* @version 10.0 |
||||
* Created by richie on 2019-08-19 |
||||
*/ |
||||
public class MapConf<T extends Map> extends com.fr.config.holder.impl.MapConf<Map> { |
||||
|
||||
public MapConf(String property, Map map, Class keyType, Class valueType) { |
||||
super(property, map, keyType, valueType); |
||||
} |
||||
|
||||
public MapConf(Map map, Class keyType, Class valueType) { |
||||
super(map, keyType, valueType); |
||||
} |
||||
} |
@ -0,0 +1,16 @@
|
||||
package com.fanruan.api.conf.impl; |
||||
|
||||
/** |
||||
* @author richie |
||||
* @version 10.0 |
||||
* Created by richie on 2019-08-19 |
||||
*/ |
||||
public class ObjConf<T> extends com.fr.config.holder.impl.ObjConf<T> { |
||||
public ObjConf(String property, T t, Class classType) { |
||||
super(property, t, classType); |
||||
} |
||||
|
||||
public ObjConf(T t, Class classType) { |
||||
super(t, classType); |
||||
} |
||||
} |
@ -0,0 +1,22 @@
|
||||
package com.fanruan.api.conf.impl; |
||||
|
||||
import java.util.Collection; |
||||
|
||||
/** |
||||
* @author richie |
||||
* @version 10.0 |
||||
* Created by richie on 2019-08-19 |
||||
*/ |
||||
public class ObjectColConf<T extends Collection> extends com.fr.config.holder.impl.ObjectColConf<Collection> { |
||||
public ObjectColConf(String property, Collection collection, Class valueType) { |
||||
super(property, collection, valueType); |
||||
} |
||||
|
||||
public ObjectColConf(Collection collection, Class valueType) { |
||||
super(collection, valueType); |
||||
} |
||||
|
||||
public ObjectColConf(Collection collection, Class valueType, boolean order) { |
||||
super(collection, valueType, order); |
||||
} |
||||
} |
@ -0,0 +1,26 @@
|
||||
package com.fanruan.api.conf.impl; |
||||
|
||||
import java.util.Map; |
||||
|
||||
/** |
||||
* @author richie |
||||
* @version 10.0 |
||||
* Created by richie on 2019-08-19 |
||||
*/ |
||||
public class ObjectMapConf<T extends Map> extends com.fr.config.holder.impl.ObjectMapConf<Map> { |
||||
public ObjectMapConf(String property, Map map, Class keyType, Class valueType) { |
||||
super(property, map, keyType, valueType); |
||||
} |
||||
|
||||
public ObjectMapConf(String property, Map map, Class keyType, Class valueType, boolean order) { |
||||
super(property, map, keyType, valueType, order); |
||||
} |
||||
|
||||
public ObjectMapConf(Map map, Class keyType, Class valueType, boolean order) { |
||||
super(map, keyType, valueType, order); |
||||
} |
||||
|
||||
public ObjectMapConf(Map map, Class keyType, Class valueType) { |
||||
super(map, keyType, valueType); |
||||
} |
||||
} |
@ -0,0 +1,17 @@
|
||||
package com.fanruan.api.conf.impl; |
||||
|
||||
/** |
||||
* @author richie |
||||
* @version 10.0 |
||||
* Created by richie on 2019-08-19 |
||||
*/ |
||||
public class SimConf<T> extends com.fr.config.holder.impl.SimConf<T> { |
||||
|
||||
public SimConf(T t) { |
||||
super(t); |
||||
} |
||||
|
||||
public SimConf(String property, T t) { |
||||
super(property, t); |
||||
} |
||||
} |
Loading…
Reference in new issue