是两个int数组之间的子集
/* n o w j a v a . c o m - 时 代 Java 提 供 */ //package com.nowjava; public class Main { public static boolean isSubset(int[] a, int[] b) { if (a.length != b.length) throw new IllegalArgumentException( "Compared arrays must be the same length."); for (int i = 0; i < a.length; i++) { if (a[i] < b[i]) return false; }//nowjava.com return true; } }