Package org.qiunet.utils.args
Class ArgsContainer
java.lang.Object
org.qiunet.utils.args.ArgsContainer
- All Implemented Interfaces:
IArgsContainer
存储所有Attribute对象的地方.
- Author:
- qiunet 2020-08-25 21:50
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()<T> Argument<T>getArgument(ArgumentKey<T> key, boolean computeIfAbsent) 得到一个Attribute对象Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.qiunet.utils.args.IArgsContainer
clear, compareAndSet, computeIfAbsent, getArgument, getVal, getVal, isNotNull, isNull, removeArg, setVal
-
Constructor Details
-
ArgsContainer
public ArgsContainer()
-
-
Method Details
-
getArgument
得到一个Attribute对象- Specified by:
getArgumentin interfaceIArgsContainer- Type Parameters:
T-- Parameters:
key-- Returns:
- 不会返回null
-
clear
public void clear()
-