Package EOorg.EOeolang
Class EOrust
- java.lang.Object
-
- org.eolang.PhDefault
-
- EOorg.EOeolang.EOrust
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind(int parent, int child, String att)
Binds child to parent.int
copy(int vertex)
Copies the eo object.int
find(String name)
Finds vertex of eo object by its location.void
put(int vertex, byte[] bytes)
Puts data to eo object by vertex.
-
-
-
Constructor Detail
-
EOrust
public EOrust(Phi sigma)
Ctor.- Parameters:
sigma
- Sigma
-
-
Method Detail
-
find
public int find(String name)
Finds vertex of eo object by its location.- Parameters:
name
- Relative location of the object to find.- Returns:
- Vertex of the object to find.
-
put
public void put(int vertex, byte[] bytes)
Puts data to eo object by vertex.- Parameters:
vertex
- Vertex off object.bytes
- Data to put.
-
bind
public void bind(int parent, int child, String att)
Binds child to parent.- Parameters:
parent
- Vertex of the parent eo object.child
- Vertex of the child eo object.att
- Name of attribute.
-
copy
public int copy(int vertex)
Copies the eo object.- Parameters:
vertex
- Vertex of object to copy.- Returns:
- Vertex of the copy.
-
-