Package com.gs.collections.api.set.primitive

Examples of com.gs.collections.api.set.primitive.ShortSet


            if (!(obj instanceof ShortSet))
            {
                return false;
            }

            ShortSet other = (ShortSet) obj;
            return this.size() == other.size() && this.containsAll(other.toArray());
        }
View Full Code Here


        }

        public boolean retainAll(ShortIterable source)
        {
            int oldSize = this.size();
            final ShortSet sourceSet = source instanceof ShortSet ? (ShortSet) source : source.toSet();
            ShortIntHashMap retained = ShortIntHashMap.this.select(new ShortIntPredicate()
            {
                public boolean accept(short key, int value)
                {
                    return sourceSet.contains(key);
                }
            });
            if (retained.size() != oldSize)
            {
                ShortIntHashMap.this.keys = retained.keys;
View Full Code Here

            if (!(obj instanceof ShortSet))
            {
                return false;
            }

            ShortSet other = (ShortSet) obj;
            return this.size() == other.size() && this.containsAll(other.toArray());
        }
View Full Code Here

        }

        public boolean retainAll(ShortIterable source)
        {
            int oldSize = this.size();
            final ShortSet sourceSet = source instanceof ShortSet ? (ShortSet) source : source.toSet();
            ByteShortHashMap retained = ByteShortHashMap.this.select(new ByteShortPredicate()
            {
                public boolean accept(byte key, short value)
                {
                    return sourceSet.contains(value);
                }
            });
            if (retained.size() != oldSize)
            {
                ByteShortHashMap.this.keys = retained.keys;
View Full Code Here

        }

        public boolean retainAll(ShortIterable source)
        {
            int oldSize = this.size();
            final ShortSet sourceSet = source instanceof ShortSet ? (ShortSet) source : source.toSet();
            LongShortHashMap retained = LongShortHashMap.this.select(new LongShortPredicate()
            {
                public boolean accept(long key, short value)
                {
                    return sourceSet.contains(value);
                }
            });
            if (retained.size() != oldSize)
            {
                LongShortHashMap.this.keys = retained.keys;
View Full Code Here

        }

        public boolean retainAll(ShortIterable source)
        {
            int oldSize = this.size();
            final ShortSet sourceSet = source instanceof ShortSet ? (ShortSet) source : source.toSet();
            FloatShortHashMap retained = FloatShortHashMap.this.select(new FloatShortPredicate()
            {
                public boolean accept(float key, short value)
                {
                    return sourceSet.contains(value);
                }
            });
            if (retained.size() != oldSize)
            {
                FloatShortHashMap.this.keys = retained.keys;
View Full Code Here

        }

        public boolean retainAll(ShortIterable source)
        {
            int oldSize = ShortBooleanHashMap.this.size();
            final ShortSet sourceSet = source instanceof ShortSet ? (ShortSet) source : source.toSet();
            ShortBooleanHashMap retained = ShortBooleanHashMap.this.select(new ShortBooleanPredicate()
            {
                public boolean accept(short key, boolean value)
                {
                    return sourceSet.contains(key);
                }
            });
            if (retained.size() != oldSize)
            {
                ShortBooleanHashMap.this.keys = retained.keys;
View Full Code Here

            if (!(obj instanceof ShortSet))
            {
                return false;
            }

            ShortSet other = (ShortSet) obj;
            return this.size() == other.size() && this.containsAll(other.toArray());
        }
View Full Code Here

        }

        public boolean retainAll(ShortIterable source)
        {
            int oldSize = this.size();
            final ShortSet sourceSet = source instanceof ShortSet ? (ShortSet) source : source.toSet();
            ShortByteHashMap retained = ShortByteHashMap.this.select(new ShortBytePredicate()
            {
                public boolean accept(short key, byte value)
                {
                    return sourceSet.contains(key);
                }
            });
            if (retained.size() != oldSize)
            {
                ShortByteHashMap.this.keys = retained.keys;
View Full Code Here

            if (!(obj instanceof ShortSet))
            {
                return false;
            }

            ShortSet other = (ShortSet) obj;
            return this.size() == other.size() && this.containsAll(other.toArray());
        }
View Full Code Here

TOP

Related Classes of com.gs.collections.api.set.primitive.ShortSet

Copyright © 2018 www.massapicom. 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.