org.apache.velocity.runtime.RuntimeSingleton.getInt()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(75)

本文整理了Java中org.apache.velocity.runtime.RuntimeSingleton.getInt方法的一些代码示例,展示了RuntimeSingleton.getInt的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RuntimeSingleton.getInt方法的具体详情如下:
包路径:org.apache.velocity.runtime.RuntimeSingleton
类名称:RuntimeSingleton
方法名:getInt

RuntimeSingleton.getInt介绍

[英]Int property accessor method to hide the configuration implementation.
[中]Int属性访问器方法来隐藏配置实现。

代码示例

代码示例来源:origin: org.apache.velocity/com.springsource.org.apache.velocity

/**
 * Int property accessor method to hide the configuration implementation.
 *
 * @param key A property key.
 * @return Integer value for this key.
 */
public static int getInt( String key )
{
  return RuntimeSingleton.getInt( key );
}

代码示例来源:origin: velocity/velocity-dep

/**
 * Int property accessor method to hide the configuration implementation.
 *
 * @param String key property key
 * @return int value
 */
public static int getInt( String key )
{
  return RuntimeSingleton.getInt( key );
}

代码示例来源:origin: velocity/velocity-dep

/**
 * Int property accessor method to hide the configuration implementation.
 *
 * @param key  property key
 * @param int default value
 * @return int  value
 */
public static int getInt( String key, int defaultValue )
{
  return RuntimeSingleton.getInt( key, defaultValue );
}

代码示例来源:origin: org.apache.velocity/com.springsource.org.apache.velocity

/**
 * Int property accessor method to hide the configuration implementation.
 *
 * @param key  property key
 * @param defaultValue default value
 * @return The integer value.
 */
public static int getInt( String key, int defaultValue )
{
  return RuntimeSingleton.getInt( key, defaultValue );
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity

/**
 * Int property accessor method to hide the configuration implementation.
 *
 * @param key A property key.
 * @return Integer value for this key.
 */
public static int getInt( String key )
{
  return RuntimeSingleton.getInt( key );
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity

/**
 * Int property accessor method to hide the configuration implementation.
 *
 * @param key  property key
 * @param defaultValue default value
 * @return The integer value.
 */
public static int getInt( String key, int defaultValue )
{
  return RuntimeSingleton.getInt( key, defaultValue );
}

相关文章