Posts by Mateus Felipe • 121 points
2 posts
-
0
votes2
answers259
viewsA: Get the position in a for loop in java?
In Java, there is no native construction to get the Iterable index. Some languages allow this. For example, in PHP: foreach ($items as $key => $value) { ... } However, to do the same in Java, you…
-
2
votes1
answer83
viewsQ: What would be the ideal unique natural key associated with a person?
I’m developing a system whose one of the tables represents people. Of course, the most accurate document to represent only one person is CPF. However, the system provides for the possibility that…