Example |
VectorLib vlib=new VectorLib(); int[] a={7, 4, 9, 4}; int[] b=vlib.getFind(a, "=", 4); vlib.view("Data found at index", b); |
Output |
Data found at index = 1 3 |
Example |
VectorLib vlib=new VectorLib(); int[] a={7, 4, 9, 4}; int[] b=vlib.getFind(a, ">", 5); vlib.view("Data found at index", b); |
Output |
Data found at index = 0 2 |
Example |
VectorLib vlib=new VectorLib(); int[] a={7, 4, 9, 4}; int[] b=vlib.getFind(a, "!=", 9); vlib.view("Data found at index", b); |
Output |
Data found at index = 0 1 3 |