本文整理了Java中com.graphhopper.util.Helper.camelCaseToUnderScore()
方法的一些代码示例,展示了Helper.camelCaseToUnderScore()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Helper.camelCaseToUnderScore()
方法的具体详情如下:
包路径:com.graphhopper.util.Helper
类名称:Helper
方法名:camelCaseToUnderScore
暂无
代码示例来源:origin: graphhopper/graphhopper
/**
* For possible values see AlgorithmOptions.*
*/
public GHRequest setAlgorithm(String algo) {
if (algo != null)
this.algo = Helper.camelCaseToUnderScore(algo);
return this;
}
代码示例来源:origin: graphhopper/graphhopper
public PMap remove(String key) {
// query accepts camelCase and under_score
map.remove(Helper.camelCaseToUnderScore(key));
return this;
}
代码示例来源:origin: graphhopper/graphhopper
public boolean has(String key) {
// query accepts camelCase and under_score
return map.containsKey(Helper.camelCaseToUnderScore(key));
}
代码示例来源:origin: graphhopper/graphhopper
public PMap put(String key, Object str) {
if (str == null)
throw new NullPointerException("Value cannot be null. Use remove instead.");
// store in under_score
map.put(Helper.camelCaseToUnderScore(key), str.toString());
return this;
}
代码示例来源:origin: graphhopper/graphhopper
String get(String key) {
if (Helper.isEmpty(key))
return "";
// query accepts camelCase and under_score
String val = map.get(Helper.camelCaseToUnderScore(key));
if (val == null)
return "";
return val;
}
代码示例来源:origin: com.graphhopper/graphhopper
/**
* For possible values see AlgorithmOptions.*
*/
public GHRequest setAlgorithm( String algo )
{
if (algo != null)
this.algo = Helper.camelCaseToUnderScore(algo);
return this;
}
代码示例来源:origin: com.rgi-corp/graphhopper
/**
* For possible values see AlgorithmOptions.*
*/
public GHRequest setAlgorithm(String algo) {
if (algo != null)
this.algo = Helper.camelCaseToUnderScore(algo);
return this;
}
代码示例来源:origin: com.graphhopper/graphhopper-api
/**
* For possible values see AlgorithmOptions.*
*/
public GHRequest setAlgorithm(String algo) {
if (algo != null)
this.algo = Helper.camelCaseToUnderScore(algo);
return this;
}
代码示例来源:origin: com.graphhopper/graphhopper-api
public boolean has(String key) {
// query accepts camelCase and under_score
return map.containsKey(Helper.camelCaseToUnderScore(key));
}
代码示例来源:origin: com.graphhopper/graphhopper-api
public PMap remove(String key) {
// query accepts camelCase and under_score
map.remove(Helper.camelCaseToUnderScore(key));
return this;
}
代码示例来源:origin: com.rgi-corp/graphhopper
public PMap remove(String key) {
// query accepts camelCase and under_score
map.remove(Helper.camelCaseToUnderScore(key));
return this;
}
代码示例来源:origin: com.graphhopper/graphhopper
public PMap remove( String key )
{
// query accepts camelCase and under_score
map.remove(Helper.camelCaseToUnderScore(key));
return this;
}
代码示例来源:origin: com.graphhopper/graphhopper
public boolean has( String key )
{
// query accepts camelCase and under_score
return map.containsKey(Helper.camelCaseToUnderScore(key));
}
代码示例来源:origin: com.rgi-corp/graphhopper
public boolean has(String key) {
// query accepts camelCase and under_score
return map.containsKey(Helper.camelCaseToUnderScore(key));
}
代码示例来源:origin: com.graphhopper/graphhopper-api
public PMap put(String key, Object str) {
if (str == null)
throw new NullPointerException("Value cannot be null. Use remove instead.");
// store in under_score
map.put(Helper.camelCaseToUnderScore(key), str.toString());
return this;
}
代码示例来源:origin: com.graphhopper/graphhopper
public PMap put( String key, Object str )
{
if (str == null)
throw new NullPointerException("Value cannot be null. Use remove instead.");
// store in under_score
map.put(Helper.camelCaseToUnderScore(key), str.toString());
return this;
}
代码示例来源:origin: com.rgi-corp/graphhopper
public PMap put(String key, Object str) {
if (str == null)
throw new NullPointerException("Value cannot be null. Use remove instead.");
// store in under_score
map.put(Helper.camelCaseToUnderScore(key), str.toString());
return this;
}
代码示例来源:origin: com.graphhopper/graphhopper
String get( String key )
{
if (Helper.isEmpty(key))
return "";
// query accepts camelCase and under_score
String val = map.get(Helper.camelCaseToUnderScore(key));
if (val == null)
return "";
return val;
}
代码示例来源:origin: com.graphhopper/graphhopper-api
String get(String key) {
if (Helper.isEmpty(key))
return "";
// query accepts camelCase and under_score
String val = map.get(Helper.camelCaseToUnderScore(key));
if (val == null)
return "";
return val;
}
代码示例来源:origin: com.rgi-corp/graphhopper
String get(String key) {
if (Helper.isEmpty(key))
return "";
// query accepts camelCase and under_score
String val = map.get(Helper.camelCaseToUnderScore(key));
if (val == null)
return "";
return val;
}
内容来源于网络,如有侵权,请联系作者删除!