LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.language.IDeepCopy< T > Interface Template Reference

interface to create deep-copy of objects More...

+ Inheritance diagram for org.lightjason.agentspeak.language.IDeepCopy< T >:
+ Collaboration diagram for org.lightjason.agentspeak.language.IDeepCopy< T >:

Public Member Functions

deepcopy ( @Nullable final IPath... p_prefix)
 clones the object (shallow-copy) More...
 
deepcopysuffix ()
 clones the object (shallow-copy) without full-qualified path, only suffix is used More...
 

Detailed Description

Note
methods must be thread-safe if necessary

Definition at line 37 of file IDeepCopy.java.

Member Function Documentation

◆ deepcopy()

T org.lightjason.agentspeak.language.IDeepCopy< T >.deepcopy ( @Nullable final IPath...  p_prefix)
Parameters
p_prefixadd a path (only one path element is supported) to the functor or returns a shallow-copy
Returns
new instance of the object

Referenced by org.lightjason.agentspeak.language.unify.CUnifier.variables(), org.lightjason.agentspeak.grammar.CASTVisitorPlanBundle.visitLogicrule(), and org.lightjason.agentspeak.grammar.CASTVisitorAgent.visitLogicrule().

+ Here is the caller graph for this function:

◆ deepcopysuffix()

Returns
new instance of the object