Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static boolean haveNode(ArrayList<Node> list, String symb){
- for(int i = 0; i < list.size();){
- if (list.get(i).symbol.equals(symb));
- return true;
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement