public class Map extends PrimitiveStackMapping
(1 2 3) (10 add >>) map >> yields (11 12 13)PrimitiveStackMapping.ParameterRippleValue.Type| Constructor and Description |
|---|
Map() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(RippleList arg,
Sink<RippleList> solutions,
ModelConnection mc)
Applies the mapping to a single argument,
producing zero or more solutions and passing them into a downstream
Sink |
String |
getComment() |
String[] |
getIdentifiers() |
PrimitiveStackMapping.Parameter[] |
getParameters() |
arity, equals, getInverse, getMapping, getType, hashCode, isTransparent, printTo, setRdfEquivalent, toRDF, toStringpublic Map()
throws RippleException
RippleExceptionpublic String[] getIdentifiers()
getIdentifiers in class PrimitiveStackMappingpublic PrimitiveStackMapping.Parameter[] getParameters()
getParameters in class PrimitiveStackMappingpublic String getComment()
getComment in class PrimitiveStackMappingpublic void apply(RippleList arg, Sink<RippleList> solutions, ModelConnection mc) throws RippleException
MappingSinkarg - the argument data itemsolutions - the solutions the argument is mapped tomc - a helper object providing context (may be null)RippleException - if a data handling error occursCopyright © 2007-2012 fortytwo.net. All Rights Reserved.