This program implements a simple contains method.
containsAll method in App.java file takes four parameters and returns an integer value. Method takes two integer arrays and returns second array's index in first array if contains. Otherwise returns -1.
Other two integer parameters of method is minSize and maxSize: minSize:subarray's length cannot be smaller then minSize. maxSize:main array's length cannot be bigger than maxSize.
There is more description at demo site.