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

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


        public boolean retainAll(IntIterable source)
        {
            int oldSize = this.size();
            final IntSet sourceSet = source instanceof IntSet ? (IntSet) source : source.toSet();
            IntShortHashMap retained = IntShortHashMap.this.select(new IntShortPredicate()
            {
                public boolean accept(int key, short value)
                {
                    return sourceSet.contains(key);
                }
View Full Code Here


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

TOP

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

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.