Код: Выделить всё
public SinglyLinkedList clone(){
SinglyLinkedList other =(SinglyLinkedList) super.clone();
// rest of the implementation.
}
Подробнее здесь: https://stackoverflow.com/questions/389 ... one-method
Код: Выделить всё
public SinglyLinkedList clone(){
SinglyLinkedList other =(SinglyLinkedList) super.clone();
// rest of the implementation.
}