Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. public static boolean haveNode(ArrayList<Node> list, String symb){
  2. for(int i = 0; i < list.size();){
  3. if (list.get(i).symbol.equals(symb));
  4. return true;
  5. }
  6. return false;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement