Package org.eolang
Class PhDefault
java.lang.Object
org.eolang.PhDefault
- Direct Known Subclasses:
EOangle,EOangle$EOcos,EOangle$EOsin,EObytes,EObytes_as_array,EObytes_as_input,EObytes$EOand,EObytes$EOconcat,EObytes$EOeq,EObytes$EOnot,EObytes$EOor,EObytes$EOright,EObytes$EOsize,EObytes$EOslice,EObytes$EOxor,EOconsole,EOcopied,EOcti,EOdataized,EOdead_input,EOdead_output,EOdir,EOdir$EOmade$EOmkdir,EOdir$EOtmpfile$EOtouch,EOdir$EOwalk,EOerror,EOfalse,EOfile,EOfile$EOdeleted$EOdelete,EOfile$EOexists,EOfile$EOis_directory,EOfile$EOmoved$EOmove,EOfile$EOopen$EOfile_stream$EOread$EOread_bytes,EOfile$EOopen$EOfile_stream$EOwrite$EOwritten_bytes,EOfile$EOopen$EOprocess_file,EOfile$EOsize,EOfile$EOtouched$EOtouch,EOgetenv,EOgo,EOhash_code_of,EOi16,EOi16$EOas_i32,EOi32,EOi32$EOas_i64,EOi64,EOi64$EOas_number,EOi64$EOdiv,EOi64$EOgt,EOi64$EOplus,EOi64$EOtimes,EOinput_length,EOintegral,EOlist,EOmalloc,EOmalloc_as_output,EOmalloc$EOof$EOallocated$EOread,EOmalloc$EOof$EOallocated$EOresized,EOmalloc$EOof$EOallocated$EOsize,EOmalloc$EOof$EOallocated$EOwrite,EOmalloc$EOof$EOφ,EOmap,EOnan,EOnegative_infinity,EOnumber,EOnumber$EOas_i64,EOnumber$EOdiv,EOnumber$EOfloor,EOnumber$EOgt,EOnumber$EOplus,EOnumber$EOtimes,EOnumbers,EOos,EOos$EOname,EOpath,EOpositive_infinity,EOposix,EOposix$EOφ,EOrandom,EOrange,EOrange_of_numbers,EOreal,EOreal$EOacos,EOreal$EOasin,EOreal$EOln,EOreal$EOpow,EOreal$EOsqrt,EOregex,EOregex$EOpattern$EOmatch$EOmatched_from_index,EOregex$EOφ,EOruntime,EOseq,EOset,EOsocket,EOsprintf,EOsscanf,EOstdin,EOstdout,EOstring,EOswitch,EOtee_input,EOtext,EOtmpdir,EOtrue,EOtry,EOtuple,EOwhile,EOwin32,EOwin32$EOφ
A simple object.
The class is thread-safe.
- 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 TypeMethodDescriptionfinal voidAdd new attribute.final Phicopy()Make a copy, leaving it at the same parent.Copy self object.byte[]delta()Take the data.booleanforma()Get forma of the phi.inthashCode()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
-
PhDefault
public PhDefault()Default ctor. -
PhDefault
public PhDefault(byte[] dta) Ctor.- Parameters:
dta- Object data
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
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. -
put
Description copied from interface:PhiPut object by position of the attribute. -
put
Description copied from interface:PhiPut object by name of the 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. -
delta
public byte[] delta()Description copied from interface:DataTake the data. -
locator
Description copied from interface:PhiGet code locator of the phi. -
forma
Description copied from interface:PhiGet forma of the phi. -
copy
Description copied from interface:PhiCopy self object. -
add
Add new attribute.This method can only be called from child classes, in their constructors, when they declare their attributes. This is why it's protected.
- Parameters:
name- The nameattr- The attr
-