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

public Class ReverseBooleanIterable

extends AbstractLazyBooleanIterable
Class Inheritance
Imports
java.util.NoSuchElementException, org.eclipse.collections.api.BooleanIterable, .LazyBooleanIterable, org.eclipse.collections.api.bag.primitive.MutableBooleanBag, org.eclipse.collections.api.block.procedure.primitive.BooleanProcedure, org.eclipse.collections.api.factory.primitive.BooleanBags, .BooleanLists, .BooleanSets, org.eclipse.collections.api.iterator.BooleanIterator, org.eclipse.collections.api.list.primitive.BooleanList, .MutableBooleanList, org.eclipse.collections.api.set.primitive.MutableBooleanSet, 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 BooleanList

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ReverseBooleanIterable
adapt(BooleanList booleanList)

public LazyBooleanIterable
asLazy()

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

Implements org.eclipse.collections.api.BooleanIterable.asLazy.

Returns a LazyBooleanIterable adapter wrapping the source BooleanIterable.

public BooleanIterator
booleanIterator()

Implements org.eclipse.collections.api.BooleanIterable.booleanIterator.

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

public boolean
contains(boolean value)

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

Implements org.eclipse.collections.api.BooleanIterable.contains.

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

public boolean
containsAll(boolean... source)

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

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

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

public boolean
containsAll(BooleanIterable source)

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

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

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

public void
each(BooleanProcedure procedure)

Implements org.eclipse.collections.api.BooleanIterable.each.

A synonym for forEach.

public boolean
public boolean
public int
public boolean[]
public MutableBooleanBag
public MutableBooleanList
public MutableBooleanSet
Inherited from org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable:
allSatisfyanySatisfyappendStringappendStringappendStringchunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcountdetectIfNoneflatCollectinjectIntomakeStringmakeStringmakeStringnoneSatisfyrejectselecttaptoString

Field Detail

adaptedback to summary
private final BooleanList adapted

Constructor Detail

ReverseBooleanIterableback to summary
public ReverseBooleanIterable(BooleanList newAdapted)

Method Detail

adaptback to summary
public static ReverseBooleanIterable adapt(BooleanList booleanList)
asLazyback to summary
public LazyBooleanIterable asLazy()

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

Implements org.eclipse.collections.api.BooleanIterable.asLazy.

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

Returns a LazyBooleanIterable adapter wrapping the source BooleanIterable.

Annotations
@Override
booleanIteratorback to summary
public BooleanIterator booleanIterator()

Implements org.eclipse.collections.api.BooleanIterable.booleanIterator.

Doc from org.eclipse.collections.api.BooleanIterable.booleanIterator.

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

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

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

Implements org.eclipse.collections.api.BooleanIterable.contains.

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

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

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

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

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

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

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

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

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

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

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

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

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

Implements org.eclipse.collections.api.BooleanIterable.each.

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

A synonym for forEach.

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

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable.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
notEmptyback to summary
public boolean notEmpty()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable.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.AbstractLazyBooleanIterable.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
toArrayback to summary
public boolean[] toArray()

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

Implements org.eclipse.collections.api.BooleanIterable.toArray.

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

Converts the BooleanIterable to a primitive boolean array.

Annotations
@Override
toBagback to summary
public MutableBooleanBag toBag()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable.toBag.

Implements org.eclipse.collections.api.BooleanIterable.toBag.

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

Converts the BooleanIterable to a new MutableBooleanBag.

Annotations
@Override
toListback to summary
public MutableBooleanList toList()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable.toList.

Implements org.eclipse.collections.api.BooleanIterable.toList.

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

Converts the BooleanIterable to a new MutableBooleanList.

Annotations
@Override
toSetback to summary
public MutableBooleanSet toSet()

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable.toSet.

Implements org.eclipse.collections.api.BooleanIterable.toSet.

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

Converts the BooleanIterable to a new MutableBooleanSet.

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

private Class ReverseBooleanIterable.ReverseBooleanIterator

extends Object
implements BooleanIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.ReverseBooleanIterable.ReverseBooleanIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.BooleanIterator

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 boolean
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

ReverseBooleanIteratorback to summary
private ReverseBooleanIterator()

Method Detail

hasNextback to summary
public boolean hasNext()

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

Annotations
@Override
nextback to summary
public boolean next()

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

Annotations
@Override