Checking if one array is a subset of another
This is more of a reminder than anything else. A co-worker needed to figure out if one array was contained as a subset of another and of course we go back to our good 'ol friend java for this and the collections interface:
isSubset = arrayA.containsAll( arrayB )
Simple and easy! Here are the Java API Docs just in case you want to read some more!