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

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

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

Public Member Functions

shallowcopy ( @Nullable final IPath... p_prefix)
 clones the object (shallow-copy) More...
 
shallowcopysuffix ()
 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 IShallowCopy.java.

Member Function Documentation

◆ shallowcopy()

T org.lightjason.agentspeak.language.IShallowCopy< T >.shallowcopy ( @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

Implemented in org.lightjason.agentspeak.language.variable.CMutexVariable< T >, and org.lightjason.agentspeak.language.variable.CRelocateMutexVariable< T >.

Referenced by org.lightjason.agentspeak.language.instantiable.plan.trigger.CTrigger.shallowcopy().

+ Here is the caller graph for this function:

◆ shallowcopysuffix()