SHARE
TWEET

Untitled

a guest Mar 19th, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static List<Task> createTasksList(){
  2.         List<Task> tasks = new ArrayList<>();
  3.         tasks.add(new Task("Take out the trash", true, 3));
  4.         tasks.add(new Task("Walk the dog", false, 2));
  5.         tasks.add(new Task("Make my bed", true, 1));
  6.         tasks.add(new Task("Unload the dishwasher", false, 0));
  7.         tasks.add(new Task("Make dinner", true, 5));
  8.         return tasks;
  9.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top