Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ObjectListImpl implements ObjectList {
- private final List<Object> list = new ArrayList<>();
- public boolean add(Object element) {
- list.add(element);
- }
- public boolean remove(int index) {
- list.remove(index);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement