Package com.gs.collections.impl.list.mutable.primitive

Examples of com.gs.collections.impl.list.mutable.primitive.CharArrayList


        return result;
    }

    public MutableCharList collectChar(CharFunction<? super T> charFunction)
    {
        CharArrayList result = new CharArrayList(this.size());
        this.forEach(new CollectCharProcedure<T>(charFunction, result));
        return result;
    }
View Full Code Here


    {
        this.checkPositiveValueForCount(count);
        this.checkSizeLessThanCount(count);
        if (count == 0)
        {
            return new CharArrayList(0);
        }
        MutableCharList subList = new CharArrayList(count);
        int index = this.delegate.size() - 1;
        for (int i = 0; i < count; i++)
        {
            subList.add(this.delegate.get(index - i));
        }
        return subList;
    }
View Full Code Here

        return target;
    }

    public MutableCharCollection collectChar(CharFunction<? super V> charFunction)
    {
        return this.collectChar(charFunction,  new CharArrayList(this.size()));
    }
View Full Code Here

        return new char[0];
    }

    public MutableCharList toSortedList()
    {
        return new CharArrayList();
    }
View Full Code Here

        return source.isEmpty();
    }

    public MutableCharList toList()
    {
        return new CharArrayList();
    }
View Full Code Here

        return UnmodifiableFloatSet.of(new FloatHashSet());
    }

    public MutableCharCollection values()
    {
        return UnmodifiableCharCollection.of(new CharArrayList());
    }
View Full Code Here

        return !predicate.accept(this.value1);
    }

    public ImmutableCharCollection select(CharPredicate predicate)
    {
        return predicate.accept(this.value1) ? CharArrayList.newListWith(this.value1).toImmutable() : new CharArrayList().toImmutable();
    }
View Full Code Here

        return predicate.accept(this.value1) ? CharArrayList.newListWith(this.value1).toImmutable() : new CharArrayList().toImmutable();
    }

    public ImmutableCharCollection reject(CharPredicate predicate)
    {
        return predicate.accept(this.value1) ? new CharArrayList().toImmutable() : CharArrayList.newListWith(this.value1).toImmutable();
    }
View Full Code Here

        return new char[0];
    }

    public MutableCharList toSortedList()
    {
        return new CharArrayList();
    }
View Full Code Here

        return source.isEmpty();
    }

    public MutableCharList toList()
    {
        return new CharArrayList();
    }
View Full Code Here

TOP

Related Classes of com.gs.collections.impl.list.mutable.primitive.CharArrayList

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.