Top Description Constructors Methods
org.eclipse.collections.impl.primitive

public abstract Class AbstractCharIterable

extends Object
implements CharIterable
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.CharIterable, org.eclipse.collections.api.PrimitiveIterable
Known Direct Subclasses
org.eclipse.collections.impl.set.primitive.AbstractCharSet, org.eclipse.collections.impl.string.immutable.CharAdapter, org.eclipse.collections.impl.bag.mutable.primitive.CharHashBag, org.eclipse.collections.impl.list.mutable.primitive.CharArrayList, org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableCharValuesMap
Imports
java.util.Arrays, org.eclipse.collections.api.CharIterable, .LazyCharIterable, org.eclipse.collections.api.bag.primitive.MutableCharBag, org.eclipse.collections.api.factory.primitive.CharBags, .CharLists, .CharSets, org.eclipse.collections.api.list.primitive.MutableCharList, org.eclipse.collections.api.set.primitive.MutableCharSet, org.eclipse.collections.impl.lazy.primitive.LazyCharIterableAdapter

This file was automatically generated from template file abstractPrimitiveIterable.stg.
Since
6.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public LazyCharIterable
asLazy()

Implements org.eclipse.collections.api.CharIterable.asLazy.

Returns a LazyCharIterable adapter wrapping the source CharIterable.

public double
public char
public double
public char
public MutableCharBag
toBag()

Implements org.eclipse.collections.api.CharIterable.toBag.

Converts the CharIterable to a new MutableCharBag.

public MutableCharList
toList()

Implements org.eclipse.collections.api.CharIterable.toList.

Converts the CharIterable to a new MutableCharList.

public MutableCharSet
toSet()

Implements org.eclipse.collections.api.CharIterable.toSet.

Converts the CharIterable to a new MutableCharSet.

public char[]
public MutableCharList
public String
toString()

Overrides java.lang.Object.toString.

Implements org.eclipse.collections.api.PrimitiveIterable.toString.

Returns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Constructor Detail

AbstractCharIterableback to summary
public AbstractCharIterable()

Method Detail

asLazyback to summary
public LazyCharIterable asLazy()

Implements org.eclipse.collections.api.CharIterable.asLazy.

Doc from org.eclipse.collections.api.CharIterable.asLazy.

Returns a LazyCharIterable adapter wrapping the source CharIterable.

Annotations
@Override
averageback to summary
public double average()

Implements org.eclipse.collections.api.CharIterable.average.

Annotations
@Override
maxIfEmptyback to summary
public char maxIfEmpty(char defaultValue)

Implements org.eclipse.collections.api.CharIterable.maxIfEmpty.

Annotations
@Override
medianback to summary
public double median()

Implements org.eclipse.collections.api.CharIterable.median.

Annotations
@Override
minIfEmptyback to summary
public char minIfEmpty(char defaultValue)

Implements org.eclipse.collections.api.CharIterable.minIfEmpty.

Annotations
@Override
toBagback to summary
public MutableCharBag toBag()

Implements org.eclipse.collections.api.CharIterable.toBag.

Doc from org.eclipse.collections.api.CharIterable.toBag.

Converts the CharIterable to a new MutableCharBag.

Annotations
@Override
toListback to summary
public MutableCharList toList()

Implements org.eclipse.collections.api.CharIterable.toList.

Doc from org.eclipse.collections.api.CharIterable.toList.

Converts the CharIterable to a new MutableCharList.

Annotations
@Override
toSetback to summary
public MutableCharSet toSet()

Implements org.eclipse.collections.api.CharIterable.toSet.

Doc from org.eclipse.collections.api.CharIterable.toSet.

Converts the CharIterable to a new MutableCharSet.

Annotations
@Override
toSortedArrayback to summary
public char[] toSortedArray()

Implements org.eclipse.collections.api.CharIterable.toSortedArray.

Annotations
@Override
toSortedListback to summary
public MutableCharList toSortedList()

Implements org.eclipse.collections.api.CharIterable.toSortedList.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Implements org.eclipse.collections.api.PrimitiveIterable.toString.

Doc from org.eclipse.collections.api.PrimitiveIterable.toString.

Returns a string with the elements of this iterable separated by commas with spaces and enclosed in square brackets.

Assert.assertEquals("[]", IntLists.mutable.empty().toString());
Assert.assertEquals("[1]", IntLists.mutable.with(1).toString());
Assert.assertEquals("[1, 2, 3]", IntLists.mutable.with(1, 2, 3).toString());
Annotations
@Override