Vector Manipulation Layer (VectorLib)
getUnique
to find unique data from array
FUNCTIONS
int[] - getUnique(int[] data)
String[] - getUnique(String[] data)
EXAMPLES
Example
VectorLib vlib=new VectorLib();
int[] a={7, 4, 9, 4};
int[] b=vlib.getUnique(a);
vlib.view("Unique data", b);
Output
Unique data =
4 7 9