Package com.gs.collections.api.iterator

Examples of com.gs.collections.api.iterator.DoubleIterator


        public boolean removeAll(DoubleIterable source)
        {
            int oldSize = ShortDoubleHashMap.this.size();

            DoubleIterator iterator = source.doubleIterator();
            while (iterator.hasNext())
            {
                this.remove(iterator.next());
            }
            return oldSize != ShortDoubleHashMap.this.size();
        }
View Full Code Here


    {
        if (this.isEmpty())
        {
            throw new NoSuchElementException();
        }
        DoubleIterator iterator = this.doubleIterator();
        double max = iterator.next();
        while (iterator.hasNext())
        {
            double value = iterator.next();
            if (Double.compare(max, value) < 0)
            {
                max = value;
            }
        }
View Full Code Here

    {
        if (this.isEmpty())
        {
            throw new NoSuchElementException();
        }
        DoubleIterator iterator = this.doubleIterator();
        double min = iterator.next();
        while (iterator.hasNext())
        {
            double value = iterator.next();
            if (Double.compare(value, min) < 0)
            {
                min = value;
            }
        }
View Full Code Here

        public boolean removeAll(DoubleIterable source)
        {
            int oldSize = LongDoubleHashMap.this.size();

            DoubleIterator iterator = source.doubleIterator();
            while (iterator.hasNext())
            {
                this.remove(iterator.next());
            }
            return oldSize != LongDoubleHashMap.this.size();
        }
View Full Code Here

    {
        if (this.isEmpty())
        {
            throw new NoSuchElementException();
        }
        DoubleIterator iterator = this.doubleIterator();
        double max = iterator.next();
        while (iterator.hasNext())
        {
            double value = iterator.next();
            if (Double.compare(max, value) < 0)
            {
                max = value;
            }
        }
View Full Code Here

    {
        if (this.isEmpty())
        {
            throw new NoSuchElementException();
        }
        DoubleIterator iterator = this.doubleIterator();
        double min = iterator.next();
        while (iterator.hasNext())
        {
            double value = iterator.next();
            if (Double.compare(value, min) < 0)
            {
                min = value;
            }
        }
View Full Code Here

TOP

Related Classes of com.gs.collections.api.iterator.DoubleIterator

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.