whups
This commit is contained in:
parent
a313547060
commit
fcdeabe55f
|
@ -1,22 +1,19 @@
|
|||
package de.joethei.hs.java2.praktikum.praktikum2;
|
||||
|
||||
import com.sun.istack.internal.NotNull;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
public class CharCollection implements Cloneable{
|
||||
|
||||
private List<Character> list = new ArrayList<>();
|
||||
|
||||
public CharCollection(@NotNull char... cc) {
|
||||
public CharCollection(char... cc) {
|
||||
for(char c:cc) this.list.add(c);
|
||||
}
|
||||
|
||||
public CharCollection(@NotNull String s) {
|
||||
public CharCollection(String s) {
|
||||
for(char c : s.toCharArray()) {
|
||||
this.list.add(c);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue