Package org.eolang
Class PhDefault
- java.lang.Object
-
- org.eolang.PhDefault
-
- Direct Known Subclasses:
EOas_phi
,EObool
,EObool$EOand
,EObool$EOeq
,EObool$EOnot
,EObool$EOor
,EObytes
,EObytes$EOand
,EObytes$EOas_bool
,EObytes$EOas_bytes
,EObytes$EOas_float
,EObytes$EOas_int
,EObytes$EOas_string
,EObytes$EOconcat
,EObytes$EOeq
,EObytes$EOleft
,EObytes$EOnot
,EObytes$EOor
,EObytes$EOright
,EObytes$EOsize
,EObytes$EOslice
,EObytes$EOxor
,EOcage
,EOcage$EOencaged
,EOcti
,EOdataized
,EOerror
,EOfloat
,EOfloat$EOdiv
,EOfloat$EOeq
,EOfloat$EOgt
,EOfloat$EOgte
,EOfloat$EOlt
,EOfloat$EOlte
,EOfloat$EOminus
,EOfloat$EOneg
,EOfloat$EOplus
,EOfloat$EOtimes
,EOgo
,EOgo$EOto
,EOgo$EOto$EOt1$EOa1
,EOgo$EOto$EOtoken
,EOgo$EOto$EOtoken$EOforward
,EOgo$EOto$EOtoken$EOforward$EOt1$EOa0
,EOgo$EOto$EOtoken$EOt0$EOa0
,EOif
,EOint
,EOint$EOdiv
,EOint$EOeq
,EOint$EOgt
,EOint$EOgte
,EOint$EOlt
,EOint$EOlte
,EOint$EOminus
,EOint$EOneg
,EOint$EOplus
,EOint$EOtimes
,EOmalloc
,EOmalloc$EOmemory_block_pointer
,EOmalloc$EOmemory_block_pointer$EOfree
,EOmemory
,EOmemory$EOallocated
,EOmemory$EOallocated$EOfree
,EOmemory$EOallocated$EOwrite
,EOmemory$EOφ
,EOnan
,EOnan$EOdiv
,EOnan$EOeq
,EOnan$EOgt
,EOnan$EOgte
,EOnan$EOlt
,EOnan$EOlte
,EOnan$EOminus
,EOnan$EOneg
,EOnan$EOplus
,EOnan$EOtimes
,EOnegative_infinity
,EOnegative_infinity$EOdiv
,EOnegative_infinity$EOdiv$EOis_nan
,EOnegative_infinity$EOdiv$EOis_nan_or_infinite
,EOnegative_infinity$EOdiv$EOis_num_gte_zero
,EOnegative_infinity$EOdiv$EOis_num_gte_zero$EOt1$EOa0
,EOnegative_infinity$EOdiv$EOis_num_gte_zero$EOt1$EOa1
,EOnegative_infinity$EOeq
,EOnegative_infinity$EOgt
,EOnegative_infinity$EOgte
,EOnegative_infinity$EOlt
,EOnegative_infinity$EOlte
,EOnegative_infinity$EOminus
,EOnegative_infinity$EOminus$EOis_nan
,EOnegative_infinity$EOplus
,EOnegative_infinity$EOplus$EOis_nan
,EOnegative_infinity$EOtimes
,EOnegative_infinity$EOtimes$EOis_nan
,EOnegative_infinity$EOtimes$EOis_nan_or_zero
,EOnegative_infinity$EOtimes$EOis_num_gt_zero
,EOnegative_infinity$EOtimes$EOis_num_gt_zero$EOt1$EOa0
,EOnegative_infinity$EOtimes$EOis_num_gt_zero$EOt1$EOa1
,EOpositive_infinity
,EOpositive_infinity$EOdiv
,EOpositive_infinity$EOdiv$EOis_nan
,EOpositive_infinity$EOdiv$EOis_nan_or_infinite
,EOpositive_infinity$EOdiv$EOis_num_gte_zero
,EOpositive_infinity$EOdiv$EOis_num_gte_zero$EOt1$EOa0
,EOpositive_infinity$EOdiv$EOis_num_gte_zero$EOt1$EOa1
,EOpositive_infinity$EOeq
,EOpositive_infinity$EOgt
,EOpositive_infinity$EOgte
,EOpositive_infinity$EOlt
,EOpositive_infinity$EOlte
,EOpositive_infinity$EOminus
,EOpositive_infinity$EOminus$EOis_nan
,EOpositive_infinity$EOplus
,EOpositive_infinity$EOplus$EOis_nan
,EOpositive_infinity$EOtimes
,EOpositive_infinity$EOtimes$EOis_nan
,EOpositive_infinity$EOtimes$EOis_nan_or_zero
,EOpositive_infinity$EOtimes$EOis_num_gt_zero
,EOpositive_infinity$EOtimes$EOis_num_gt_zero$EOt1$EOa0
,EOpositive_infinity$EOtimes$EOis_num_gt_zero$EOt1$EOa1
,EOrust
,EOseq
,EOstdin
,EOstdin$EOnext_line
,EOstdin$EOφ
,EOstdout
,EOstring
,EOstring$EOas_bytes
,EOstring$EOeq
,EOstring$EOlength
,EOstring$EOslice
,EOswitch
,EOswitch$EOcase_at
,EOtry
,EOtuple
,EOtuple$EOat
,EOtuple$EOat$EOat_fast
,EOtuple$EOempty
,EOtuple$EOempty$EOat
,EOtuple$EOempty$EOwith
,EOtuple$EOlength
,EOtuple$EOwith
,EOwhile
,EOwhile$EOloop
,EOwhile$EOstart
,PhFake
,PhWrite
public abstract class PhDefault extends Object implements Phi, Cloneable
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(String name, Attr attr)
Add new attribute.void
attach(byte[] bytes)
Attach data to the object.static void
cleanUp()
Clean up resources.Phi
copy()
Make a copy, leaving it at the same parent.byte[]
delta()
Take the data.boolean
equals(Object obj)
String
forma()
Get forma of the phi.int
hashCode()
String
locator()
Get code locator of the phi.boolean
put(int pos, Phi object)
Put object by position of the attribute.boolean
put(String name, Phi object)
Put object by name of the attribute.Phi
take(String name)
Take object by name of the attribute.String
toString()
String
φTerm()
To φ-calculus term, as text.
-
-
-
Constructor Detail
-
PhDefault
public PhDefault()
Ctor.
-
PhDefault
public PhDefault(Phi sigma)
Ctor.- Parameters:
sigma
- Sigma
-
-
Method Detail
-
copy
public final Phi copy()
Description copied from interface:Phi
Make a copy, leaving it at the same parent.
-
put
public boolean put(int pos, Phi object)
Description copied from interface:Phi
Put object by position of the attribute.
-
put
public boolean put(String name, Phi object)
Description copied from interface:Phi
Put object by name of the attribute.
-
take
public Phi take(String name)
Description copied from interface:Phi
Take object by name of the attribute.
-
attach
public void attach(byte[] bytes)
Description copied from interface:Data
Attach data to the object.
-
delta
public byte[] delta()
Description copied from interface:Data
Take the data.
-
cleanUp
public static void cleanUp()
Clean up resources. This includes call ofThreadLocal.remove()
method to prevent memory leaks.
-
-