Created
November 22, 2013 17:46
-
-
Save Nan-Zhang/7603991 to your computer and use it in GitHub Desktop.
boolean.parseBoolean for a string
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
/* parseBoolean 能解析 string to boolean, 若string = “true” 就为true,反之亦然; conf.get() | |
返回一个string, 尽管FOLLOWS_GRAPH_BUILD 属性是Boolean */ | |
followingBuild = Boolean.parseBoolean(conf.get(GenomixJobConf.FOLLOWS_GRAPH_BUILD)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment