Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.lavreniuk.Core;
- import com.lavreniuk.SortedIntegerList.SortedIntegerList;
- public class Core {
- public static void main(String[] argv){
- SortedIntegerList test = new SortedIntegerList(true);
- test.add(1);
- test.add(2);
- test.add(3);
- test.add(4);
- test.add(5);
- test.add(-1);
- System.out.println(test);
- SortedIntegerList test2 = new SortedIntegerList(true);
- test2.add(3);
- test2.add(4);
- test2.add(5);
- test2.add(6);
- test2.add(7);
- System.out.println(test2);
- SortedIntegerList test3 = new SortedIntegerList(true);
- test3 = test2.insertList(test);
- System.out.println(test3);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement