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

Examples of com.gs.collections.api.block.procedure.primitive.ShortProcedure


        public short[] toArray()
        {
            int size = ShortShortHashMap.this.size();
            final short[] result = new short[size];
            ShortShortHashMap.this.forEachKey(new ShortProcedure()
            {
                private int index;

                public void value(short each)
                {
View Full Code Here


        }
        if (map.size() == 1)
        {
            //TODO use keysView() when available.
            final short[] array = new short[1];
            map.forEachKey(new ShortProcedure()
            {
                public void value(short each)
                {
                    array[0] = each;
                }
View Full Code Here

        public short[] toArray()
        {
            int size = ShortCharHashMap.this.size();
            final short[] result = new short[size];
            ShortCharHashMap.this.forEachKey(new ShortProcedure()
            {
                private int index;

                public void value(short each)
                {
View Full Code Here

        return this;
    }

    public ShortCharHashMap withoutAllKeys(ShortIterable keys)
    {
        keys.forEach(new ShortProcedure()
        {
            public void value(short key)
            {
                ShortCharHashMap.this.removeKey(key);
            }
View Full Code Here

        return this;
    }

    public ShortFloatHashMap withoutAllKeys(ShortIterable keys)
    {
        keys.forEach(new ShortProcedure()
        {
            public void value(short key)
            {
                ShortFloatHashMap.this.removeKey(key);
            }
View Full Code Here

        public short[] toArray()
        {
            int size = ShortFloatHashMap.this.size();
            final short[] result = new short[size];
            ShortFloatHashMap.this.forEachKey(new ShortProcedure()
            {
                private int index;

                public void value(short each)
                {
View Full Code Here

        public short[] toArray()
        {
            int size = ShortObjectHashMap.this.size();
            final short[] result = new short[size];
            ShortObjectHashMap.this.forEachKey(new ShortProcedure()
            {
                private int index;

                public void value(short each)
                {
View Full Code Here

        public short[] toArray()
        {
            int size = ShortIntHashMap.this.size();
            final short[] result = new short[size];
            ShortIntHashMap.this.forEachKey(new ShortProcedure()
            {
                private int index;

                public void value(short each)
                {
View Full Code Here

        return this;
    }

    public ShortIntHashMap withoutAllKeys(ShortIterable keys)
    {
        keys.forEach(new ShortProcedure()
        {
            public void value(short key)
            {
                ShortIntHashMap.this.removeKey(key);
            }
View Full Code Here

        public short[] toArray()
        {
            int size = ShortBooleanHashMap.this.size();
            final short[] result = new short[size];
            ShortBooleanHashMap.this.forEachKey(new ShortProcedure()
            {
                private int index;

                public void value(short each)
                {
View Full Code Here

TOP

Related Classes of com.gs.collections.api.block.procedure.primitive.ShortProcedure

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.