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

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


        }

        public boolean retainAll(FloatIterable source)
        {
            int oldSize = this.size();
            final FloatSet sourceSet = source instanceof FloatSet ? (FloatSet) source : source.toSet();
            FloatObjectHashMap<V> retained = FloatObjectHashMap.this.select(new FloatObjectPredicate<V>()
            {
                public boolean accept(float key, V value)
                {
                    return sourceSet.contains(key);
                }
            });
            if (retained.size() != oldSize)
            {
                FloatObjectHashMap.this.keys = retained.keys;
View Full Code Here


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

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

        }

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

TOP

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

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.