+ private Set<Integer> colors;
+
+ public ColorMemory(SampleProvider color) {
+ colors = new HashSet<Integer>();
+ }
+
+ public void addColor(int current) {
+ if(!colors.contains(current)){
+ colors.add(current);
+ }
+ }
+ public boolean containsAll(List<Integer> is) {
+ return colors.containsAll(is);
+ }
+