Last active
August 29, 2015 14:01
-
-
Save chimerast/1b4e7ca1d24981805ebc to your computer and use it in GitHub Desktop.
本日の糞コード 2014/04/24
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
private boolean hasNetIncome(FactTable factTable, QName qName, final String context) { | |
return option(factTable, NetIncome, qName, context).map(e -> true) | |
.orElseGet(() -> option(factTable, NetIncomeUS, qName, context).map(e -> true) | |
.orElseGet(() -> option(factTable, ProfitAttributableToOwnersOfParentIFRS, qName, context).map(e -> true) | |
.orElseGet(() -> option(factTable,BasicEarningsPerShareIFRS, qName, context).isPresent()))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment