Created
March 30, 2016 21:56
-
-
Save amckinley/1315d78f500202fc96b356c995235b06 to your computer and use it in GitHub Desktop.
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
// new style syntax | |
for (Map.Entry<K, V> current : this.internalList.get(index)) { | |
System.out.println(current); | |
} | |
// old school syntax | |
LinkedList<Map.Entry<K, V>> myList = this.internalList.get(index); | |
for (int i = 0; i < myList.size(); i++) { | |
Map.Entry<K, V> current = myList.get(i); | |
System.out.println(current); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment