Examples of containsKey()


Examples of com.gs.collections.api.map.primitive.FloatByteMap.containsKey()

        FloatByteMap map = (FloatByteMap) obj;
        if (map.size() != 1)
        {
            return false;
        }
        return map.containsKey(this.key1) && this.value1 == map.getOrThrow(this.key1);
    }

    @Override
    public int hashCode()
    {
View Full Code Here

Examples of com.gs.collections.api.map.primitive.FloatCharMap.containsKey()

        FloatCharMap map = (FloatCharMap) obj;
        if (map.size() != 1)
        {
            return false;
        }
        return map.containsKey(this.key1) && this.value1 == map.getOrThrow(this.key1);
    }

    @Override
    public int hashCode()
    {
View Full Code Here

Examples of com.gs.collections.api.map.primitive.FloatDoubleMap.containsKey()

        FloatDoubleMap map = (FloatDoubleMap) obj;
        if (map.size() != 1)
        {
            return false;
        }
        return map.containsKey(this.key1) && Double.compare(this.value1, map.getOrThrow(this.key1)) == 0;
    }

    @Override
    public int hashCode()
    {
View Full Code Here

Examples of com.gs.collections.api.map.primitive.FloatFloatMap.containsKey()

        FloatFloatMap map = (FloatFloatMap) obj;
        if (map.size() != 1)
        {
            return false;
        }
        return map.containsKey(this.key1) && Float.compare(this.value1, map.getOrThrow(this.key1)) == 0;
    }

    @Override
    public int hashCode()
    {
View Full Code Here

Examples of com.gs.collections.api.map.primitive.FloatIntMap.containsKey()

        FloatIntMap map = (FloatIntMap) obj;
        if (map.size() != 1)
        {
            return false;
        }
        return map.containsKey(this.key1) && this.value1 == map.getOrThrow(this.key1);
    }

    @Override
    public int hashCode()
    {
View Full Code Here

Examples of com.gs.collections.api.map.primitive.FloatLongMap.containsKey()

            return false;
        }

        if (this.sentinelValues == null)
        {
            if (other.containsKey(EMPTY_KEY) || other.containsKey(REMOVED_KEY))
            {
                return false;
            }
        }
        else
View Full Code Here

Examples of com.gs.collections.api.map.primitive.FloatShortMap.containsKey()

        FloatShortMap map = (FloatShortMap) obj;
        if (map.size() != 1)
        {
            return false;
        }
        return map.containsKey(this.key1) && this.value1 == map.getOrThrow(this.key1);
    }

    @Override
    public int hashCode()
    {
View Full Code Here

Examples of com.gs.collections.api.map.primitive.IntBooleanMap.containsKey()

            return false;
        }

        if (this.sentinelValues == null)
        {
            if (other.containsKey(EMPTY_KEY) || other.containsKey(REMOVED_KEY))
            {
                return false;
            }
        }
        else
View Full Code Here

Examples of com.gs.collections.api.map.primitive.IntByteMap.containsKey()

        IntByteMap map = (IntByteMap) obj;
        if (map.size() != 1)
        {
            return false;
        }
        return map.containsKey(this.key1) && this.value1 == map.getOrThrow(this.key1);
    }

    @Override
    public int hashCode()
    {
View Full Code Here

Examples of com.gs.collections.api.map.primitive.IntCharMap.containsKey()

        IntCharMap map = (IntCharMap) obj;
        if (map.size() != 1)
        {
            return false;
        }
        return map.containsKey(this.key1) && this.value1 == map.getOrThrow(this.key1);
    }

    @Override
    public int hashCode()
    {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.