本文整理汇总了Java中gnu.trove.impl.Constants.DEFAULT_FLOAT_NO_ENTRY_VALUE属性的典型用法代码示例。如果您正苦于以下问题:Java Constants.DEFAULT_FLOAT_NO_ENTRY_VALUE属性的具体用法?Java Constants.DEFAULT_FLOAT_NO_ENTRY_VALUE怎么用?Java Constants.DEFAULT_FLOAT_NO_ENTRY_VALUE使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类gnu.trove.impl.Constants
的用法示例。
在下文中一共展示了Constants.DEFAULT_FLOAT_NO_ENTRY_VALUE属性的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: TObjectFloatCustomHashMap
/**
* Creates a new <code>TObjectFloatHashMap</code> instance with a prime
* capacity equal to or greater than <tt>initialCapacity</tt> and
* with the default load factor.
*
* @param initialCapacity an <code>int</code> value
*/
public TObjectFloatCustomHashMap( HashingStrategy<? super K> strategy,
int initialCapacity ) {
super( strategy, initialCapacity );
no_entry_value = Constants.DEFAULT_FLOAT_NO_ENTRY_VALUE;
}
示例2: TFloatHash
/**
* Creates a new <code>TFloatHash</code> instance whose capacity
* is the next highest prime above <tt>initialCapacity + 1</tt>
* unless that value is already prime.
*
* @param initialCapacity an <code>int</code> value
*/
public TFloatHash( int initialCapacity ) {
super( initialCapacity );
no_entry_value = Constants.DEFAULT_FLOAT_NO_ENTRY_VALUE;
//noinspection RedundantCast
if ( no_entry_value != ( float ) 0 ) {
Arrays.fill( _set, no_entry_value );
}
}
示例3: TObjectFloatHashMap
/**
* Creates a new <code>TObjectFloatHashMap</code> instance with the default
* capacity and load factor.
*/
public TObjectFloatHashMap() {
super();
no_entry_value = Constants.DEFAULT_FLOAT_NO_ENTRY_VALUE;
}
示例4: TFloatObjectHashMap
/**
* Creates a new <code>TFloatObjectHashMap</code> instance with a prime
* capacity equal to or greater than <tt>initialCapacity</tt> and
* with the default load factor.
*
* @param initialCapacity an <code>int</code> value
*/
public TFloatObjectHashMap( int initialCapacity ) {
super( initialCapacity );
no_entry_key = Constants.DEFAULT_FLOAT_NO_ENTRY_VALUE;
}
示例5: TObjectFloatHashMap
/**
* Creates a new <code>TObjectFloatHashMap</code> instance with a prime
* capacity equal to or greater than <tt>initialCapacity</tt> and
* with the specified load factor.
*
* @param initialCapacity an <code>int</code> value
* @param loadFactor a <code>float</code> value
*/
public TObjectFloatHashMap( int initialCapacity, float loadFactor ) {
super( initialCapacity, loadFactor );
no_entry_value = Constants.DEFAULT_FLOAT_NO_ENTRY_VALUE;
}
示例6: TFloatObjectHashMap
/**
* Creates a new <code>TFloatObjectHashMap</code> instance with a prime
* capacity equal to or greater than <tt>initialCapacity</tt> and
* with the specified load factor.
*
* @param initialCapacity an <code>int</code> value
* @param loadFactor a <code>float</code> value
*/
public TFloatObjectHashMap( int initialCapacity, float loadFactor ) {
super( initialCapacity, loadFactor );
no_entry_key = Constants.DEFAULT_FLOAT_NO_ENTRY_VALUE;
}