24 package org.lightjason.agentspeak.action.builtin.collection.multimap;
26 import com.google.common.collect.Multimap;
31 import javax.annotation.Nonnull;
32 import java.util.ArrayList;
33 import java.util.Collections;
34 import java.util.List;
53 protected final void apply(
final boolean p_parallel, @Nonnull
final Multimap<Object, Object> p_instance,
54 @Nonnull
final Object p_key, @Nonnull
final List<ITerm> p_return )
59 ? Collections.synchronizedList(
new ArrayList<>( p_instance.asMap().get( p_key ) ) )
60 :
new ArrayList<>( p_instance.asMap().get( p_key ) )
returns a multiple element of a single multimap.
abstract class to get a multiple elements of a single maps
static final long serialVersionUID
serial id
static< N > CRawTerm< N > from(final N p_value)
factory for a raw term
final void apply(final boolean p_parallel, @Nonnull final Multimap< Object, Object > p_instance, @Nonnull final Object p_key, @Nonnull final List< ITerm > p_return)
term structure for simple datatypes