Skip to content

Commit

Permalink
Merge branch 'as-map-not-part-of-tensor-interface-anymore'
Browse files Browse the repository at this point in the history
  • Loading branch information
kaifox committed Jul 4, 2017
2 parents dcfa397 + 9084f31 commit d260e6b
Show file tree
Hide file tree
Showing 24 changed files with 1,438 additions and 1,318 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ private void getByStaticMethodsWithStaticImports() {

private void loopThroughEntries() {
// tag::loopThroughEntries[]
for (Entry<Position, Double> entry : temperatures.asMap().entrySet()) {
for (Entry<Position, Double> entry : Tensorics.mapFrom(temperatures).entrySet()) {
Position position = entry.getKey();
double value = entry.getValue();
System.out.println(position + "\t->\t" + value);
Expand Down
Loading

0 comments on commit d260e6b

Please sign in to comment.