Browse Source

Neue abstrakte Klasse AbstractSimpleList implementiert

T_SS18_List
hertero 3 years ago
parent
commit
c3684c22b7
  1. 43
      SimpleLinkedList/src/solution/AbstractSimpleList.java

43
SimpleLinkedList/src/solution/AbstractSimpleList.java

@ -0,0 +1,43 @@
package solution;
import java.util.Collection;
public class AbstractSimpleList<E> implements ISimpleList<E>{
@Override
public int size() {
// TODO Auto-generated method stub
return 0;
}
@Override
public boolean add(E e) {
// TODO Auto-generated method stub
return false;
}
@Override
public boolean add(Collection c) {
// TODO Auto-generated method stub
return false;
}
@Override
public boolean contains(Object o) {
// TODO Auto-generated method stub
return false;
}
@Override
public boolean remove(Object o) {
// TODO Auto-generated method stub
return false;
}
@Override
public void forAll(ICommand<E> command) {
// TODO Auto-generated method stub
}
}
Loading…
Cancel
Save