2013年6月27日

三元运算

摘要: public static URI getUri(InetSocketAddress namenode) { int port = namenode.getPort(); String portString = port == DEFAULT_PORT ? "" : (":"+port); // return URI.create("hdfs://"+ namenode.getHostName()+portString); } 阅读全文

posted @ 2013-06-27 18:09 wangbokun 阅读(154) 评论(0) 推荐(0) 编辑

导航