Package jason.mas2j
Class ClassParameters
java.lang.Object
jason.mas2j.ClassParameters
- All Implemented Interfaces:
Serializable
Used to store class parameters in .mas2j file, e.g.
environment: Mars(a,b,c);
this class stores
className = Mars,
parameters = {a,b,c}
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copy()
boolean
getHost()
getParameter
(int index) getParameter
(String startWith) String[]
getParametersStr
(String sep) returns parameters with space as separatorObject[]
int
hashCode()
boolean
boolean
void
setClassName
(String cn) void
toString()
-
Constructor Details
-
ClassParameters
public ClassParameters() -
ClassParameters
-
ClassParameters
-
-
Method Details
-
copy
-
setClassName
-
getClassName
-
addParameter
-
getParameters
-
getParameter
-
getParameter
-
hasParameter
-
hasParameters
public boolean hasParameters() -
getParametersArray
-
getTypedParametersArray
-
getParametersStr
returns parameters with space as separator -
setHost
-
getHost
-
toString
-
hashCode
public int hashCode() -
equals
-