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

项目:xcc    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TByteObjectMap ) ) {
        return false;
    }
    TByteObjectMap that = ( TByteObjectMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TByteObjectIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            byte key = iter.key();
            Object value = iter.value();
            if ( value == null ) {
                if ( !( that.get( key ) == null && that.containsKey( key ) ) ) {
                    return false;
                }
            } else {
                if ( !value.equals( that.get( key ) ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:HCFCore    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TByteObjectMap ) ) {
        return false;
    }
    TByteObjectMap that = ( TByteObjectMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TByteObjectIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            byte key = iter.key();
            Object value = iter.value();
            if ( value == null ) {
                if ( !( that.get( key ) == null && that.containsKey( key ) ) ) {
                    return false;
                }
            } else {
                if ( !value.equals( that.get( key ) ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:HCFCore    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TByteObjectMap ) ) {
        return false;
    }
    TByteObjectMap that = ( TByteObjectMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TByteObjectIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            byte key = iter.key();
            Object value = iter.value();
            if ( value == null ) {
                if ( !( that.get( key ) == null && that.containsKey( key ) ) ) {
                    return false;
                }
            } else {
                if ( !value.equals( that.get( key ) ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:trove-3.0.3    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
@Override
@SuppressWarnings("rawtypes")
public boolean equals( Object other ) {
    if ( ! ( other instanceof TByteObjectMap ) ) {
        return false;
    }
    TByteObjectMap that = ( TByteObjectMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TByteObjectIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            byte key = iter.key();
            Object value = iter.value();
            if ( value == null ) {
                if ( !( that.get( key ) == null && that.containsKey( key ) ) ) {
                    return false;
                }
            } else {
                if ( !value.equals( that.get( key ) ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:easyrec_major    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TByteObjectMap ) ) {
        return false;
    }
    TByteObjectMap that = ( TByteObjectMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TByteObjectIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            byte key = iter.key();
            Object value = iter.value();
            if ( value == null ) {
                if ( !( that.get( key ) == null && that.containsKey( key ) ) ) {
                    return false;
                }
            } else {
                if ( !value.equals( that.get( key ) ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:recalot.com    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TByteObjectMap ) ) {
        return false;
    }
    TByteObjectMap that = ( TByteObjectMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TByteObjectIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            byte key = iter.key();
            Object value = iter.value();
            if ( value == null ) {
                if ( !( that.get( key ) == null && that.containsKey( key ) ) ) {
                    return false;
                }
            } else {
                if ( !value.equals( that.get( key ) ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:easyrec-PoC    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TByteObjectMap ) ) {
        return false;
    }
    TByteObjectMap that = ( TByteObjectMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TByteObjectIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            byte key = iter.key();
            Object value = iter.value();
            if ( value == null ) {
                if ( !( that.get( key ) == null && that.containsKey( key ) ) ) {
                    return false;
                }
            } else {
                if ( !value.equals( that.get( key ) ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:easyrec    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
public boolean equals( Object other ) {
    if ( ! ( other instanceof TByteObjectMap ) ) {
        return false;
    }
    TByteObjectMap that = ( TByteObjectMap ) other;
    if ( that.size() != this.size() ) {
        return false;
    }
    try {
        TByteObjectIterator iter = this.iterator();
        while ( iter.hasNext() ) {
            iter.advance();
            byte key = iter.key();
            Object value = iter.value();
            if ( value == null ) {
                if ( !( that.get( key ) == null && that.containsKey( key ) ) ) {
                    return false;
                }
            } else {
                if ( !value.equals( that.get( key ) ) ) {
                    return false;
                }
            }
        }
    } catch ( ClassCastException ex ) {
        // unused.
    }
    return true;
}
项目:xcc    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
public TByteObjectIterator<V> iterator() {
    return new TByteObjectHashIterator<V>( this );
}
项目:HCFCore    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
public TByteObjectIterator<V> iterator() {
    return new TByteObjectHashIterator<V>( this );
}
项目:HCFCore    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
public TByteObjectIterator<V> iterator() {
    return new TByteObjectHashIterator<V>( this );
}
项目:trove-3.0.3    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
@Override
public TByteObjectIterator<V> iterator() {
    return new TByteObjectHashIterator( this );
}
项目:easyrec_major    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
public TByteObjectIterator<V> iterator() {
    return new TByteObjectHashIterator<V>( this );
}
项目:recalot.com    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
public TByteObjectIterator<V> iterator() {
    return new TByteObjectHashIterator<V>( this );
}
项目:easyrec-PoC    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
public TByteObjectIterator<V> iterator() {
    return new TByteObjectHashIterator<V>( this );
}
项目:pre-cu    文件:AutoDeltaBoolObjectMap.java   
public TByteObjectIterator<V> iterator() {
    return container.iterator();
}
项目:pre-cu    文件:AutoDeltaBoolStringMap.java   
public TByteObjectIterator<String> iterator() {
    return container.iterator();
}
项目:pre-cu    文件:AutoDeltaByteObjectMap.java   
public TByteObjectIterator<V> iterator() {
    return container.iterator();
}
项目:pre-cu    文件:AutoDeltaByteStringMap.java   
public TByteObjectIterator<String> iterator() {
    return container.iterator();
}
项目:easyrec    文件:TByteObjectHashMap.java   
/** {@inheritDoc} */
public TByteObjectIterator<V> iterator() {
    return new TByteObjectHashIterator<V>( this );
}
项目:xcc    文件:TByteObjectMap.java   
/**
 * Returns a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 *
 * @return a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 */
public TByteObjectIterator<V> iterator();
项目:HCFCore    文件:TByteObjectMap.java   
/**
 * Returns a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 *
 * @return a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 */
public TByteObjectIterator<V> iterator();
项目:HCFCore    文件:TByteObjectMap.java   
/**
 * Returns a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 *
 * @return a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 */
public TByteObjectIterator<V> iterator();
项目:trove-3.0.3    文件:TByteObjectMap.java   
/**
 * Returns a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 *
 * @return a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 */
public TByteObjectIterator<V> iterator();
项目:easyrec_major    文件:TByteObjectMap.java   
/**
 * Returns a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 *
 * @return a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 */
public TByteObjectIterator<V> iterator();
项目:recalot.com    文件:TByteObjectMap.java   
/**
 * Returns a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 *
 * @return a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 */
public TByteObjectIterator<V> iterator();
项目:easyrec-PoC    文件:TByteObjectMap.java   
/**
 * Returns a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 *
 * @return a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 */
public TByteObjectIterator<V> iterator();
项目:easyrec    文件:TByteObjectMap.java   
/**
 * Returns a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 *
 * @return a <tt>TByteObjectIterator</tt> with access to this map's keys and values.
 */
public TByteObjectIterator<V> iterator();