Am not getting what am i supposed to do.. need help!
package com.codegym.task.task17.task1713;
import java.util.*;
/*
Shared list
*/
public class Solution implements List<Long>{
private ArrayList<Long> original = new ArrayList<>();
public static void main(String[] args) {}
@Override
public synchronized List<Long> boolean isEmpty(){
return original.isEmpty();
}
@Override
public synchronized List<Long> boolean contains(Object o){
return original.contains(Object o);
}
@Override
public synchronized List<Long> Iterator iterator(){
return original.iterator();
}
@Override
public synchronized List<Long> Object[] toArray(){
return original.toArray();
}
@Override
public synchronized List<Long> Object[] toArray(Object[] a){
return original.toArray(Object[] a);
}
@Override
public synchronized List<Long> add(Object o){
return original.add(Object o);
}
@Override
public synchronized List<Long> boolean remove(Object o){
return original.remove(Object o);
}
@Override
public synchronized List<Long> boolean containsAll(Collection c){
return original.containsAll(Collection c);
}
@Override
public synchronized List<Long> boolean addAll(Collection c){
return original.addAll(Collection c);
}
@Override
public synchronized List<Long> boolean addAll(int index, Collection c){
return original.addAll(int index, Collection c);
}
@Override
public synchronized List<Long> boolean removeAll(Collection c){
return original.removeAll(Collection c);
}
@Override
public synchronized List<Long> boolean retainAll(Collection c){
return original.retainAll(Collection c);
}
@Override
public synchronized List<Long> boolean equals(Object o){
return original.equals(Object o);
}
@Override
public synchronized List<Long> int hashCode(){
return original.hashCode();
}
@Override
public synchronized List<Long> Object get(int index){
return original.get(int index);
}
@Override
public synchronized List<Long> Object set(int index, Object element){
return original.set(int index, Object element);
}
@Override
public synchronized List<Long> void add(int index, Object element){
return original.add(int index, Object element);
}
@Override
public synchronized List<Long> Object remove(int index){
return original.remove(int index);
}
@Override
public synchronized List<Long> int indexOf(Object o){
return original.indexOf(Object o);
}
@Override
public synchronized List<Long> int lastIndexOf(Object o){
return original.lastIndexOf(Object o);
}
@Override
public synchronized List<Long> ListIterator listIterator(){
return original.listIterator();
}
@Override
public synchronized List<Long> ListIterator listIterator(int index){
return original.listIterator(int index);
}
@Override
public synchronized List<Long> List subList(int fromIndex,int toIndex){
return original.subList(int fromIndex, int toIndex);
}
}