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

public Class TapByteIterable

extends AbstractLazyByteIterable
Class Inheritance
Imports
org.eclipse.collections.api.ByteIterable, org.eclipse.collections.api.block.predicate.primitive.BytePredicate, org.eclipse.collections.api.block.procedure.primitive.ByteProcedure, org.eclipse.collections.api.iterator.ByteIterator

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final ByteIterable
private final ByteProcedure

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 byte
public void
each(ByteProcedure procedure)

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

A synonym for forEach.

public boolean
noneSatisfy(BytePredicate predicate)

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

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

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

Inherited from org.eclipse.collections.impl.lazy.primitive.AbstractLazyByteIterable:
appendStringappendStringappendStringasLazyaveragechunkcollectcollectBooleancollectBytecollectCharcollectDoublecollectFloatcollectIntcollectLongcollectShortcontainscontainsAllcontainsAllcountflatCollectinjectIntoisEmptymakeStringmakeStringmakeStringmaxmaxIfEmptymedianminminIfEmptynotEmptyrejectselectsizesumtaptoArraytoBagtoListtoSettoSortedArraytoSortedListtoString

Field Detail

adaptedback to summary
private final ByteIterable adapted
procedureback to summary
private final ByteProcedure procedure

Constructor Detail

TapByteIterableback to summary
public TapByteIterable(ByteIterable delegate, ByteProcedure procedure)

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
detectIfNoneback to summary
public byte detectIfNone(BytePredicate predicate, byte ifNone)

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

Implements org.eclipse.collections.api.ByteIterable.detectIfNone.

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
noneSatisfyback to summary
public boolean noneSatisfy(BytePredicate predicate)

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

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

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

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

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

public Class TapByteIterable.TapByteIterator

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

Field Summary

Modifier and TypeField and Description
private final ByteIterator
private final ByteProcedure

Constructor Summary

AccessConstructor and Description
public
public

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
procedureback to summary
private final ByteProcedure procedure

Constructor Detail

TapByteIteratorback to summary
public TapByteIterator(ByteIterable iterable, ByteProcedure procedure)
TapByteIteratorback to summary
public TapByteIterator(ByteIterator iterator, ByteProcedure procedure)

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