Package org.eolang
Class PhCached
java.lang.Object
org.eolang.PhCached
Cached Phi.
It's highly recommended to use it with PhComposite.
- Since:
- 0.1
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eolang.Data
Data.ToPhi -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Make a copy, leaving it at the same parent.Copy self object.byte[]delta()Take the data.forma()Get forma of the phi.booleanhasRho()Returns true if object has bound rho attribute.locator()Get code locator of the phi.voidPut object by position of the attribute.voidPut object by name of the attribute.take(int pos) Take object by position of the attribute.Take object by name of the attribute.
-
Constructor Details
-
PhCached
Ctor.- Parameters:
attr- Origin attribute
-
-
Method Details
-
copy
Description copied from interface:PhiCopy self object. -
copy
Description copied from interface:PhiMake a copy, leaving it at the same parent. -
hasRho
public boolean hasRho()Description copied from interface:PhiReturns true if object has bound rho attribute. -
take
Description copied from interface:PhiTake object by name of the attribute. -
take
Description copied from interface:PhiTake object by position of the attribute. -
put
Description copied from interface:PhiPut object by position of the attribute. -
put
Description copied from interface:PhiPut object by name of the attribute. -
locator
Description copied from interface:PhiGet code locator of the phi. -
forma
Description copied from interface:PhiGet forma of the phi. -
delta
public byte[] delta()Description copied from interface:DataTake the data.
-