R
rottyguy70
hello, am trying to do the following with little success. any help is
appreciated.
1) assume i have a static mapping:
a -> 1
b -> 2
c -> 3
2) i need to read through some data, let's say set [g, i, j] and create
a new (joined/merged) mapping:
a -> 1
b -> 2
c -> 3
g -> 4
i -> 5
j -> 6
3) with this new mapping, i need to x-ref it against another set.
assume this 3rd set is [ a, a, g, i, c ] my resultant set should be [
{a->1}, {a->1}, {g->4}, {i->5}, {c->3} ].
i understand how to do 1 & 3 but not sure of how i can do 2. is there
a way to merge or create a new mapping/node-set based on 2 (or more)
maps/sets?
thanks
appreciated.
1) assume i have a static mapping:
a -> 1
b -> 2
c -> 3
2) i need to read through some data, let's say set [g, i, j] and create
a new (joined/merged) mapping:
a -> 1
b -> 2
c -> 3
g -> 4
i -> 5
j -> 6
3) with this new mapping, i need to x-ref it against another set.
assume this 3rd set is [ a, a, g, i, c ] my resultant set should be [
{a->1}, {a->1}, {g->4}, {i->5}, {c->3} ].
i understand how to do 1 & 3 but not sure of how i can do 2. is there
a way to merge or create a new mapping/node-set based on 2 (or more)
maps/sets?
thanks