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) {
}
public synchronized ArrayList<Long> subList(int a,int b){
}
public synchronized ListIterator listIterator(){
}
public synchronized ListIterator listIterator(int i){
}
plz help.i can't understand this question
Resolved
Comments (4)
- Popular
- New
- Old
You must be signed in to leave a comment
Carlos Cortázar
16 April 2020, 07:30
Hi, and what about the methods with this signature
removeAll(Collection<?> c)
0
Muhammed Hussein
17 December 2019, 17:46
original.samemethod(same prameters); if void
return original.samemethod(same prameters); if not void
+2
Abhishek Rangari
13 December 2018, 15:16solution
Brother, you need to add all the methods from list interface into the solution class and within those method call "original.methodName()". As an example -
+9
Nikolaos
16 January 2020, 11:20
Thank you man for your help!!!!
0