Top Description Fields Constructors Methods
org.eclipse.collections.impl.block.procedure

public final Class IfObjectIntProcedure<T>

extends Object
implements Procedure<T>
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.block.procedure.Procedure, java.io.Serializable, java.util.function.Consumer
Imports
org.eclipse.collections.api.block.predicate.Predicate, org.eclipse.collections.api.block.procedure.Procedure, org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure, org.eclipse.collections.impl.Counter

A conditional ObjectIntProcedure that effectively filters which objects should be used

Field Summary

Modifier and TypeField and Description
private final Counter
private final ObjectIntProcedure<? super T>
private final Predicate<? super T>
private static final long

Constructor Summary

AccessConstructor and Description
public
IfObjectIntProcedure(Predicate<? super T> newPredicate, ObjectIntProcedure<? super T> objectIntProcedure)

Method Summary

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

Field Detail

indexback to summary
private final Counter index
objectIntProcedureback to summary
private final ObjectIntProcedure<? super T> objectIntProcedure
predicateback to summary
private final Predicate<? super T> predicate
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

IfObjectIntProcedureback to summary
public IfObjectIntProcedure(Predicate<? super T> newPredicate, ObjectIntProcedure<? super T> objectIntProcedure)

Method Detail

valueback to summary
public void value(T object)

Implements org.eclipse.collections.api.block.procedure.Procedure.value.

Annotations
@Override