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

public Class SelectByteIterable

extends AbstractLazyByteIterable
Class Inheritance
Imports
java.util.NoSuchElementException, org.eclipse.collections.api.ByteIterable, org.eclipse.collections.api.bag.primitive.MutableByteBag, org.eclipse.collections.api.block.predicate.primitive.BytePredicate, org.eclipse.collections.api.block.procedure.primitive.ByteProcedure, org.eclipse.collections.api.factory.primitive.ByteBags, .ByteLists, .ByteSets, org.eclipse.collections.api.iterator.ByteIterator, org.eclipse.collections.api.list.primitive.MutableByteList, org.eclipse.collections.api.set.primitive.MutableByteSet

This file was automatically generated from template file selectPrimitiveIterable.stg.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private class
private static class

Field Summary

Modifier and TypeField and Description
private final ByteIterable
private final BytePredicate

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
allSatisfy(BytePredicate predicate)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.allSatisfy.

Implements org.eclipse.collections.api.ByteIterable.allSatisfy.

Returns true if all of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.

public boolean
anySatisfy(BytePredicate predicate)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.anySatisfy.

Implements org.eclipse.collections.api.ByteIterable.anySatisfy.

Returns true if any of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.

public ByteIterator
byteIterator()

Implements org.eclipse.collections.api.ByteIterable.byteIterator.

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

public boolean
containsAll(byte... source)

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

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

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

public boolean
containsAll(ByteIterable source)

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

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

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

public int
count(BytePredicate predicate)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.count.

Implements org.eclipse.collections.api.ByteIterable.count.

Returns a count of the number of elements in the ByteIterable that return true for the specified predicate.

public void
each(ByteProcedure procedure)

Implements org.eclipse.collections.api.ByteIterable.each.

A synonym for forEach.

public boolean
public boolean
public int
public byte[]
public MutableByteBag
public MutableByteList
public MutableByteSet
Inherited from org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable:
appendStringappendStringappendStringasLazyaveragechunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainsdetectIfNoneflatCollectinjectIntomakeStringmakeStringmakeStringmaxmaxIfEmptymedianminminIfEmptynoneSatisfyrejectselectsumtaptoSortedArraytoSortedListtoString

Field Detail

delegateback to summary
private final ByteIterable delegate
predicateback to summary
private final BytePredicate predicate

Constructor Detail

SelectByteIterableback to summary
public SelectByteIterable(ByteIterable delegate, BytePredicate predicate)

Method Detail

allSatisfyback to summary
public boolean allSatisfy(BytePredicate predicate)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.allSatisfy.

Implements org.eclipse.collections.api.ByteIterable.allSatisfy.

Doc from org.eclipse.collections.api.ByteIterable.allSatisfy.

Returns true if all of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.

Annotations
@Override
anySatisfyback to summary
public boolean anySatisfy(BytePredicate predicate)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.anySatisfy.

Implements org.eclipse.collections.api.ByteIterable.anySatisfy.

Doc from org.eclipse.collections.api.ByteIterable.anySatisfy.

Returns true if any of the elements in the ByteIterable return true for the specified predicate, otherwise returns false.

Annotations
@Override
byteIteratorback to summary
public ByteIterator byteIterator()

Implements org.eclipse.collections.api.ByteIterable.byteIterator.

Doc from org.eclipse.collections.api.ByteIterable.byteIterator.

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

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

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

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

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

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

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

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

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

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

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

Annotations
@Override
countback to summary
public int count(BytePredicate predicate)

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.count.

Implements org.eclipse.collections.api.ByteIterable.count.

Doc from org.eclipse.collections.api.ByteIterable.count.

Returns a count of the number of elements in the ByteIterable that return true for the specified predicate.

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

Implements org.eclipse.collections.api.ByteIterable.each.

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

A synonym for forEach.

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

Overrides org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable.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.AbstractLazyByteIterable.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.AbstractLazyByteIterable.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 byte[] toArray()

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

Implements org.eclipse.collections.api.ByteIterable.toArray.

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

Converts the ByteIterable to a primitive byte array.

Annotations
@Override
toBagback to summary
public MutableByteBag toBag()

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

Implements org.eclipse.collections.api.ByteIterable.toBag.

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

Converts the ByteIterable to a new MutableByteBag.

Annotations
@Override
toListback to summary
public MutableByteList toList()

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

Implements org.eclipse.collections.api.ByteIterable.toList.

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

Converts the ByteIterable to a new MutableByteList.

Annotations
@Override
toSetback to summary
public MutableByteSet toSet()

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

Implements org.eclipse.collections.api.ByteIterable.toSet.

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

Converts the ByteIterable to a new MutableByteSet.

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

private final Class SelectByteIterable.CountByteProcedure

extends Object
implements ByteProcedure
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.SelectByteIterable.CountByteProcedure
All Implemented Interfaces
org.eclipse.collections.api.block.procedure.primitive.ByteProcedure, java.io.Serializable

Field Summary

Modifier and TypeField and Description
private int
private final BytePredicate
private static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public int
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

counterback to summary
private int counter
predicateback to summary
private final BytePredicate predicate
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

CountByteProcedureback to summary
private CountByteProcedure(BytePredicate predicate)

Method Detail

getCountback to summary
public int getCount()
valueback to summary
public void value(byte each)

Implements org.eclipse.collections.api.block.procedure.primitive.ByteProcedure.value.

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

private final Class SelectByteIterable.IfByteProcedure

extends Object
implements ByteProcedure
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.SelectByteIterable.IfByteProcedure
All Implemented Interfaces
org.eclipse.collections.api.block.procedure.primitive.ByteProcedure, java.io.Serializable

Field Summary

Modifier and TypeField and Description
private final ByteProcedure
private static final long

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

procedureback to summary
private final ByteProcedure procedure
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

IfByteProcedureback to summary
private IfByteProcedure(ByteProcedure procedure)

Method Detail

valueback to summary
public void value(byte each)

Implements org.eclipse.collections.api.block.procedure.primitive.ByteProcedure.value.

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

private final Class SelectByteIterable.SelectByteIterator

extends Object
implements ByteIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.lazy.primitive.SelectByteIterable.SelectByteIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.ByteIterator

Field Summary

Modifier and TypeField and Description
private final ByteIterator
private byte
private final BytePredicate
private boolean

Constructor Summary

AccessConstructor and Description
private
private

Method Summary

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

Field Detail

iteratorback to summary
private final ByteIterator iterator
nextback to summary
private byte next
predicateback to summary
private final BytePredicate predicate
verifiedHasNextback to summary
private boolean verifiedHasNext

Constructor Detail

SelectByteIteratorback to summary
private SelectByteIterator(ByteIterable iterable, BytePredicate predicate)
SelectByteIteratorback to summary
private SelectByteIterator(ByteIterator iterator, BytePredicate predicate)

Method Detail

hasNextback to summary
public boolean hasNext()

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

Annotations
@Override
nextback to summary
public byte next()

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

Annotations
@Override