array-intersaction example
This is a gradle java application. To run download the source code and build with any ide or gradle tool
To run as jar run command: java -jar
you need to pass three arguments
- data type - can be int,Intger, double, Double, long, Long
- firest number list comma sperated
- second darray list comma separeted
Exmaples: int 1,2,2,3,5 2,4,1 Integer 3,4,1 2,6,1,9 double 27.0,2.0,6.0,2.0 60,3.0 Double 27.0,2.0,6.0,2.0 60,3.0
Note: first argument datatype is added to support generic implementaion of Number class
Wrong argument will return "Invalid argument provided" message