Examples of containsKey()


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

        LongIntMap map = (LongIntMap) 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.LongLongMap.containsKey()

        LongLongMap map = (LongLongMap) 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.LongShortMap.containsKey()

        LongShortMap map = (LongShortMap) 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.ShortBooleanMap.containsKey()

        ShortBooleanMap map = (ShortBooleanMap) 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.ShortByteMap.containsKey()

        ShortByteMap map = (ShortByteMap) 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.ShortCharMap.containsKey()

        ShortCharMap map = (ShortCharMap) 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.ShortDoubleMap.containsKey()

        ShortDoubleMap map = (ShortDoubleMap) 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.ShortFloatMap.containsKey()

        ShortFloatMap map = (ShortFloatMap) 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.ShortIntMap.containsKey()

        ShortIntMap map = (ShortIntMap) 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.ShortLongMap.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.