public boolean containsKey( Object key ) { synchronized( mutex ) { return m.containsKey( key ); } } public boolean containsValue( double value ){
/** * Checks for the present of <tt>key</tt> in the keys of the map. * * @param key an <code>Object</code> value * @return a <code>boolean</code> value */ public boolean containsKey( Object key ) { return _map.containsKey( key ); }
public boolean containsKey( Object key ){ return m.containsKey( key ); } public boolean containsValue( double val ) { return m.containsValue( val ); }
if ( value == no_entry_value ) { if ( !( that.get( key ) == that.getNoEntryValue() && that.containsKey( key ) ) ) {
if ( value == no_entry_value ) { if ( !( that.get( key ) == that.getNoEntryValue() && that.containsKey( key ) ) ) {
if (!vertices.containsKey(v)) { vertices.put(v, (int) s.getWeight()); // FIXME time or weight? is RR using right mode?
/** * Checks for the present of <tt>key</tt> in the keys of the map. * * @param key an <code>Object</code> value * @return a <code>boolean</code> value */ public boolean containsKey( Object key ) { return _map.containsKey( key ); }
/** * Checks for the present of <tt>key</tt> in the keys of the map. * * @param key an <code>Object</code> value * @return a <code>boolean</code> value */ public boolean containsKey( Object key ) { return _map.containsKey( key ); }
/** * Checks for the present of <tt>key</tt> in the keys of the map. * * @param key an <code>Object</code> value * @return a <code>boolean</code> value */ @Override public boolean containsKey( Object key ) { return _map.containsKey( key ); }
public boolean containsKey( Object key ) { synchronized( mutex ) { return m.containsKey( key ); } } public boolean containsValue( double value ){
@Override public boolean containsKey( Object key ) { synchronized( mutex ) { return m.containsKey( key ); } } @Override
/** * Checks for the present of <tt>key</tt> in the keys of the map. * * @param key an <code>Object</code> value * @return a <code>boolean</code> value */ public boolean containsKey( Object key ) { return _map.containsKey( key ); }
public boolean containsKey( Object key ) { synchronized( mutex ) { return m.containsKey( key ); } } public boolean containsValue( double value ){
public boolean containsKey( Object key ){ return m.containsKey( key ); } public boolean containsValue( double val ) { return m.containsValue( val ); }
public boolean containsKey( Object key ) { synchronized( mutex ) { return m.containsKey( key ); } } public boolean containsValue( double value ){
public boolean isFlexibleType(String actType) { if (this.useSimpleTypes) actType = actType.substring(0, 1); return this.epsilonFactors.containsKey(actType); }
@Override public double getDoubleProperty(String propertyKey, double fallback) { return this.doubleProperties.containsKey(propertyKey) ? this.doubleProperties.get(propertyKey) : fallback; }
public Double getResult(String string1, String string2) { Double value = null; TObjectDoubleMap<String> row = matrix.get(string1); if (row != null && row.containsKey(string2)) { value = row.get(string2); } return value; }
private double ratio(Node n, double d) { if (wantedRatios.containsKey(n)) { return Math.min(d, wantedRatios.get(n)); } return d; }
private double ratio(Node n, double d) { if (wantedRatios.containsKey(n)) { return Math.min(d, wantedRatios.get(n)); } return d; }