Created
September 1, 2015 12:35
-
-
Save roberto-filho/8bd2113e86270e22a465 to your computer and use it in GitHub Desktop.
Percorrendo um multimap
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
// O multimap | |
Multimap<CFOP, BigDecimal> valores; | |
for(CFOP cfop : valores.keySet()) { | |
List<BigDecimal> total = valores.get(cfop); | |
BigDecimal soma = Helper.sum(total); | |
// Obtemos o valor do cfop | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment