All,
In a mutable Array I have multiple Arrays, In each Array i have multiple dictionaries, In the Dictionaries i have common Values, Based on the Values I have to Group an Array/Dictionary below is sample Array
(
(
{
name = "attribute_Subject";
value = English;
},
{
name = "attribute_class";
value = Fourth;
},
),
(
{
name = "attribute_Subject";
value = English;
},
{
name = "attribute_class";
value = Fifth;
},
),
(
{
name = "attribute_Subject";
value = Maths;
},
{
name = "attribute_class";
value = Fourth;
},
),
(
{
name = "attribute_Subject";
value = Science;
},
{
name = "attribute_class";
value = Fourth;
},
),
(
{
name = "attribute_Subject";
value = English;
},
{
name = "attribute_class";
value = Sixth;
},
),
(
{
name = "attribute_Subject";
value = Maths;
},
{
name = "attribute_class";
value = Sixth;
},
),
)
If you see the Arrays We have English in Three Arrays, I want that three Arrays in a separate Array and same for "Science" and Maths
Can we use predicates?
Can any one help