예제 #1
0
 default Snippets cat(final Iterable<Snippet> ss) {
   final Snippets $ = make();
   for (final Snippet s1 : this) for (final Snippet s2 : ss) $.add(s1.toString() + s2.toString());
   return $;
 }
예제 #2
0
 default Snippets cut(final Collection<Snippet> ss) {
   final Snippets $ = make(this);
   $.removeAll(ss);
   return $;
 }
예제 #3
0
 default Snippets cap(final Collection<Snippet> ss) {
   final Snippets $ = make(this);
   $.addAll(ss);
   return $;
 }