Package com.gs.collections.api.block.predicate.primitive

Examples of com.gs.collections.api.block.predicate.primitive.ShortLongPredicate


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


        public boolean retainAll(LongIterable source)
        {
            int oldSize = this.size();
            final LongSet sourceSet = source instanceof LongSet ? (LongSet) source : source.toSet();
            ShortLongHashMap retained = ShortLongHashMap.this.select(new ShortLongPredicate()
            {
                public boolean accept(short key, long value)
                {
                    return sourceSet.contains(value);
                }
View Full Code Here

TOP

Related Classes of com.gs.collections.api.block.predicate.primitive.ShortLongPredicate

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.