Package org.eolang
Class AtOnce
- java.lang.Object
-
- org.eolang.AtOnce
-
- All Implemented Interfaces:
Attr
public final class AtOnce extends Object implements Attr
Attribute that retrieves object only once.It's highly recommended to use it with
AtComposite
.- Since:
- 0.1
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attr
copy(Phi self)
Make a copy of it.Phi
get()
Take the object out.void
put(Phi phi)
Put a new object in.
-
-
-
Constructor Detail
-
AtOnce
public AtOnce(Attr attr)
Ctor.- Parameters:
attr
- Origin attribute
-
-