Top Description Inners Fields Constructors Methods
org.eclipse.collections.impl.lazy.primitive

public Class ReverseCharIterable

extends AbstractLazyCharIterable
Class Inheritance
Imports
java.util.NoSuchElementException, org.eclipse.collections.api.CharIterable, .LazyCharIterable, org.eclipse.collections.api.bag.primitive.MutableCharBag, org.eclipse.collections.api.block.procedure.primitive.CharProcedure, org.eclipse.collections.api.factory.primitive.CharBags, .CharLists, .CharSets, org.eclipse.collections.api.iterator.CharIterator, org.eclipse.collections.api.list.primitive.CharList, .MutableCharList, org.eclipse.collections.api.set.primitive.MutableCharSet, org.eclipse.collections.impl.lazy.ReverseIterable

This file was automatically generated from template file reversePrimitiveIterable.stg.
Since
5.0.
See Also
ReverseIterable

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
private final CharList

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ReverseCharIterable
adapt(CharList charList)

public LazyCharIterable
asLazy()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.asLazy.

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

Returns a LazyCharIterable adapter wrapping the source CharIterable.

public double
public CharIterator
charIterator()

Implements org.eclipse.collections.api.CharIterable.charIterator.

Returns a primitive iterator that can be used to iterate over the CharIterable in an imperative style.

public boolean
contains(char value)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.contains.

Implements org.eclipse.collections.api.CharIterable.contains.

Returns true if the value is contained in the CharIterable, and false if it is not.

public boolean
containsAll(char... source)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.containsAll.

Overrides default org.eclipse.collections.api.CharIterable.containsAll.

Returns true if all of the values specified in the source array are contained in the CharIterable, and false if they are not.

public boolean
containsAll(CharIterable source)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.containsAll.

Overrides default org.eclipse.collections.api.CharIterable.containsAll.

Returns true if all of the values specified in the source CharIterable are contained in the CharIterable, and false if they are not.

public void
each(CharProcedure procedure)

Implements org.eclipse.collections.api.CharIterable.each.

A synonym for forEach.

public boolean
public char
public char
public double
public char
public char
public boolean
public int
public long
public char[]
public MutableCharBag
public MutableCharList
public MutableCharSet
public char[]
Inherited from org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable:
allSatisfyanySatisfyappendStringappendStringappendStringchunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcountdetectIfNoneflatCollectinjectIntomakeStringmakeStringmakeStringnoneSatisfyrejectselecttaptoSortedListtoString

Field Detail

adaptedback to summary
private final CharList adapted

Constructor Detail

ReverseCharIterableback to summary
public ReverseCharIterable(CharList newAdapted)

Method Detail

adaptback to summary
public static ReverseCharIterable adapt(CharList charList)
asLazyback to summary
public LazyCharIterable asLazy()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.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()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.average.

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

Annotations
@Override
charIteratorback to summary
public CharIterator charIterator()

Implements org.eclipse.collections.api.CharIterable.charIterator.

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

Returns a primitive iterator that can be used to iterate over the CharIterable in an imperative style.

Annotations
@Override
containsback to summary
public boolean contains(char value)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.contains.

Implements org.eclipse.collections.api.CharIterable.contains.

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

Returns true if the value is contained in the CharIterable, and false if it is not.

Annotations
@Override
containsAllback to summary
public boolean containsAll(char... source)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.containsAll.

Overrides default org.eclipse.collections.api.CharIterable.containsAll.

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

Returns true if all of the values specified in the source array are contained in the CharIterable, and false if they are not.

Annotations
@Override
containsAllback to summary
public boolean containsAll(CharIterable source)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.containsAll.

Overrides default org.eclipse.collections.api.CharIterable.containsAll.

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

Returns true if all of the values specified in the source CharIterable are contained in the CharIterable, and false if they are not.

Annotations
@Override
eachback to summary
public void each(CharProcedure procedure)

Implements org.eclipse.collections.api.CharIterable.each.

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

A synonym for forEach.

Annotations
@Override
Since
7.0.
isEmptyback to summary
public boolean isEmpty()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.isEmpty.

Overrides default org.eclipse.collections.api.PrimitiveIterable.isEmpty.

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

Returns true if this iterable has zero items.

Annotations
@Override
maxback to summary
public char max()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.max.

Implements org.eclipse.collections.api.CharIterable.max.

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

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.maxIfEmpty.

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

Annotations
@Override
medianback to summary
public double median()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.median.

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

Annotations
@Override
minback to summary
public char min()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.min.

Implements org.eclipse.collections.api.CharIterable.min.

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

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.minIfEmpty.

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

Annotations
@Override
notEmptyback to summary
public boolean notEmpty()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.notEmpty.

Overrides default org.eclipse.collections.api.PrimitiveIterable.notEmpty.

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

The English equivalent of !this.isEmpty()

Annotations
@Override
sizeback to summary
public int size()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.size.

Implements org.eclipse.collections.api.PrimitiveIterable.size.

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

Returns the number of items in this iterable.

Annotations
@Override
sumback to summary
public long sum()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.sum.

Implements org.eclipse.collections.api.CharIterable.sum.

Annotations
@Override
toArrayback to summary
public char[] toArray()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.toArray.

Implements org.eclipse.collections.api.CharIterable.toArray.

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

Converts the CharIterable to a primitive char array.

Annotations
@Override
toBagback to summary
public MutableCharBag toBag()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.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()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.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()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.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()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyCharIterable.toSortedArray.

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

Annotations
@Override
org.eclipse.collections.impl.lazy.primitive back to summary

private Class ReverseCharIterable.ReverseCharIterator

extends Object
implements CharIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.ReverseCharIterable.ReverseCharIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.CharIterator

Field Summary

Modifier and TypeField and Description
private int
currentIndex

Index of element to be returned by subsequent call to next.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
public char
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

currentIndexback to summary
private int currentIndex

Index of element to be returned by subsequent call to next.

Constructor Detail

ReverseCharIteratorback to summary
private ReverseCharIterator()

Method Detail

hasNextback to summary
public boolean hasNext()

Implements org.eclipse.collections.api.iterator.CharIterator.hasNext.

Annotations
@Override
nextback to summary
public char next()

Implements org.eclipse.collections.api.iterator.CharIterator.next.

Annotations
@Override