Java 类gnu.trove.iterator.TObjectShortIterator 实例源码

项目:xcc    文件:TObjectShortHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() &&
                 that.containsKey( key ) ) ) {

                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:xcc    文件:TObjectShortCustomHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() &&
                 that.containsKey( key ) ) ) {

                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:HCFCore    文件:TObjectShortHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() &&
                 that.containsKey( key ) ) ) {

                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:HCFCore    文件:TObjectShortCustomHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() &&
                 that.containsKey( key ) ) ) {

                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:HCFCore    文件:TObjectShortHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() &&
                 that.containsKey( key ) ) ) {

                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:HCFCore    文件:TObjectShortCustomHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() &&
                 that.containsKey( key ) ) ) {

                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:trove-3.0.3    文件:TObjectShortHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
@Override
@SuppressWarnings("rawtypes")
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() &&
                 that.containsKey( key ) ) ) {

                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:trove-3.0.3    文件:TObjectShortCustomHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
@Override
@SuppressWarnings("rawtypes")
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() &&
                 that.containsKey( key ) ) ) {

                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:easyrec_major    文件:TObjectShortHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() && that.containsKey( key ) ) ) {
                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:easyrec_major    文件:TObjectShortCustomHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() && that.containsKey( key ) ) ) {
                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:recalot.com    文件:TObjectShortHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() &&
                 that.containsKey( key ) ) ) {

                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:recalot.com    文件:TObjectShortCustomHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() &&
                 that.containsKey( key ) ) ) {

                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:easyrec-PoC    文件:TObjectShortHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() && that.containsKey( key ) ) ) {
                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:easyrec-PoC    文件:TObjectShortCustomHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() && that.containsKey( key ) ) ) {
                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:easyrec    文件:TObjectShortHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() && that.containsKey( key ) ) ) {
                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:easyrec    文件:TObjectShortCustomHashMap.java   
/**
 * Compares this map with another map for equality of their stored
 * entries.
 *
 * @param other an <code>Object</code> value
 * @return a <code>boolean</code> value
 */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TObjectShortMap ) ) {
        return false;
    }
    TObjectShortMap that = ( TObjectShortMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TObjectShortIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            Object key = iter.key();
            short value = iter.value();
            if ( value == no_entry_value ) {
                if ( !( that.get( key ) == that.getNoEntryValue() && that.containsKey( key ) ) ) {
                    return false;
                }
            } else {
                if ( value != that.get( key ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:xcc    文件:TObjectShortHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator<K>( this );
}
项目:xcc    文件:TObjectShortCustomHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator<K>( this );
}
项目:HCFCore    文件:TObjectShortHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator<K>( this );
}
项目:HCFCore    文件:TObjectShortCustomHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator<K>( this );
}
项目:HCFCore    文件:TObjectShortHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator<K>( this );
}
项目:HCFCore    文件:TObjectShortCustomHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator<K>( this );
}
项目:trove-3.0.3    文件:TObjectShortHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
@Override
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator( this );
}
项目:trove-3.0.3    文件:TObjectShortCustomHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
@Override
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator( this );
}
项目:easyrec_major    文件:TObjectShortHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator<K>( this );
}
项目:easyrec_major    文件:TObjectShortCustomHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator<K>( this );
}
项目:recalot.com    文件:TObjectShortHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator<K>( this );
}
项目:recalot.com    文件:TObjectShortCustomHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator<K>( this );
}
项目:easyrec-PoC    文件:TObjectShortHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator<K>( this );
}
项目:easyrec-PoC    文件:TObjectShortCustomHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator<K>( this );
}
项目:pre-cu    文件:AutoDeltaStringShortMap.java   
public TObjectShortIterator<String> iterator() {
    return container.iterator();
}
项目:pre-cu    文件:AutoDeltaObjectShortMap.java   
public TObjectShortIterator<K> iterator() {
    return container.iterator();
}
项目:easyrec    文件:TObjectShortHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator<K>( this );
}
项目:easyrec    文件:TObjectShortCustomHashMap.java   
/**
 * @return an iterator over the entries in this map
 */
public TObjectShortIterator<K> iterator() {
    return new TObjectShortHashIterator<K>( this );
}
项目:xcc    文件:TObjectShortMap.java   
/**
 * Returns a <tt>TObjectShortIterator</tt> with access to this map's keys and values.
 *
 * @return a <tt>TObjectShortIterator</tt> with access to this map's keys and values.
 */
public TObjectShortIterator<K> iterator();
项目:HCFCore    文件:TObjectShortMap.java   
/**
 * Returns a <tt>TObjectShortIterator</tt> with access to this map's keys and values.
 *
 * @return a <tt>TObjectShortIterator</tt> with access to this map's keys and values.
 */
public TObjectShortIterator<K> iterator();
项目:HCFCore    文件:TObjectShortMap.java   
/**
 * Returns a <tt>TObjectShortIterator</tt> with access to this map's keys and values.
 *
 * @return a <tt>TObjectShortIterator</tt> with access to this map's keys and values.
 */
public TObjectShortIterator<K> iterator();
项目:trove-3.0.3    文件:TObjectShortMap.java   
/**
 * Returns a <tt>TObjectShortIterator</tt> with access to this map's keys and values.
 *
 * @return a <tt>TObjectShortIterator</tt> with access to this map's keys and values.
 */
public TObjectShortIterator<K> iterator();
项目:easyrec_major    文件:TObjectShortMap.java   
/**
 * Returns a <tt>TObjectShortIterator</tt> with access to this map's keys and values.
 *
 * @return a <tt>TObjectShortIterator</tt> with access to this map's keys and values.
 */
public TObjectShortIterator<K> iterator();
项目:recalot.com    文件:TObjectShortMap.java   
/**
 * Returns a <tt>TObjectShortIterator</tt> with access to this map's keys and values.
 *
 * @return a <tt>TObjectShortIterator</tt> with access to this map's keys and values.
 */
public TObjectShortIterator<K> iterator();