Timeline for What is the equivalent of the C++ Pair<L,R> in Java?
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 1, 2017 at 13:04 | comment | added | sdgfsdh |
My point is providing a class might be better than just an interface because it can implement these things.
|
|
| Jun 1, 2017 at 12:42 | comment | added | Earth Engine |
To implement toString you need more knowledge about the relationship between the two fields.
|
|
| Jun 1, 2017 at 12:37 | comment | added | Earth Engine | well, this is just a minimal implementation. If you need more than that you can write some helper functions to make it easier, but still you need to write the code. | |
| Jun 1, 2017 at 11:46 | comment | added | sdgfsdh |
What about equals, hashCode and toString?
|
|
| Nov 8, 2012 at 23:58 | history | edited | Earth Engine | CC BY-SA 3.0 |
added 382 characters in body
|
| Nov 8, 2012 at 23:42 | history | edited | Earth Engine | CC BY-SA 3.0 |
deleted 31 characters in body
|
| Nov 8, 2012 at 23:33 | history | edited | Earth Engine | CC BY-SA 3.0 |
deleted 31 characters in body
|
| Nov 8, 2012 at 23:28 | history | answered | Earth Engine | CC BY-SA 3.0 |