This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson7.mylist; | |
public class SimpleLinkedList { | |
private Node root; | |
private int size; | |
public SimpleLinkedList() { | |
size = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson7.mylist; | |
public class SimpleLinkedList { | |
private Node root; | |
private int size; | |
public SimpleLinkedList() { | |
size = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson7.mylist; | |
public class SimpleLinkedList { | |
private Node root; | |
private int size; | |
public SimpleLinkedList() { | |
size = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson7.mylist; | |
public class Node { | |
private Object o; | |
private Node node; | |
public Node() { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson7; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class Classroom { | |
List<Student> students; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson7; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class Classroom { | |
List<Student> students; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson6; | |
public class Home2 { | |
public static void main(String[] args) { | |
tryException(); | |
System.out.println("end"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson6; | |
public class Home1 { | |
public static void main(String[] args) { | |
tryReturn(); | |
System.out.println("end"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson6.gametank; | |
import java.awt.*; | |
public abstract class AbstractTank implements Drawable, Destroyable{ | |
private Direction direction; | |
private int x = 128; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lesson6.gametank; | |
import javax.swing.*; | |
import java.awt.*; | |
import java.util.Random; | |
public class ActionField extends JPanel{ | |
private boolean COLORDED_MODE = false; |