Created
June 16, 2013 21:35
-
-
Save juanpabloaj/5793514 to your computer and use it in GitHub Desktop.
java treemap in matlab
This file contains 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
function treetest | |
% java TreeMap | |
import java.util.TreeMap | |
tree = TreeMap; | |
tree.put(1, 10); | |
tree.put(1, 11); | |
tree.put(2, 20); | |
tree.values() | |
% output ans = [11.0, 20.0] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment