Examples of containsKey()


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

        IntDoubleMap map = (IntDoubleMap) 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.IntFloatMap.containsKey()

        IntFloatMap map = (IntFloatMap) 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.IntIntMap.containsKey()

        IntIntMap map = (IntIntMap) 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.IntLongMap.containsKey()

        IntLongMap map = (IntLongMap) 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.IntShortMap.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.LongBooleanMap.containsKey()

        LongBooleanMap map = (LongBooleanMap) 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.LongByteMap.containsKey()

        LongByteMap map = (LongByteMap) 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.LongCharMap.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.LongDoubleMap.containsKey()

        LongDoubleMap map = (LongDoubleMap) 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.LongFloatMap.containsKey()

            return false;
        }

        if (this.sentinelValues == null)
        {
            if (other.containsKey(EMPTY_KEY) || other.containsKey(REMOVED_KEY))
            {
                return false;
            }
        }
        else
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.