Package org.eolang
Class Param
- java.lang.Object
-
- org.eolang.Param
-
public final class Param extends Object
Param of an object (convenient retrieval mechanism).The job of the utility object is to help our EO objects retrieve attributes from other objects and from their own \rho (owners). On top of retrieval, this object also does simple type checking. When an attribute is expected to be of some type, we use
strong(Class)
. This method will throw a runtime exception if types don't match.- Since:
- 0.20
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bytes
asBytes()
Fetch BYTES of any type.<T> T
strong(Class<T> type)
Fetch and check type.
-