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

public Class IntCaseProcedure

extends Object
implements IntProcedure
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.block.procedure.primitive.IntProcedure, java.io.Serializable, java.util.function.IntConsumer
Imports
org.eclipse.collections.api.block.predicate.primitive.IntPredicate, org.eclipse.collections.api.block.procedure.primitive.IntProcedure, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.api.tuple.Pair, org.eclipse.collections.impl.factory.Lists, org.eclipse.collections.impl.tuple.Tuples

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

Field Summary

Modifier and TypeField and Description
private IntProcedure
private final MutableList<Pair<IntPredicate, IntProcedure>>
private static final long

Constructor Summary

AccessConstructor and Description
public
public
IntCaseProcedure(IntProcedure newDefaultProcedure)

Method Summary

Modifier and TypeMethod and Description
public IntCaseProcedure
addCase(IntPredicate predicate, IntProcedure procedure)

public IntCaseProcedure
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

defaultProcedureback to summary
private IntProcedure defaultProcedure
predicateProceduresback to summary
private final MutableList<Pair<IntPredicate, IntProcedure>> predicateProcedures
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

IntCaseProcedureback to summary
public IntCaseProcedure()
IntCaseProcedureback to summary
public IntCaseProcedure(IntProcedure newDefaultProcedure)

Method Detail

addCaseback to summary
public IntCaseProcedure addCase(IntPredicate predicate, IntProcedure procedure)
setDefaultback to summary
public IntCaseProcedure setDefault(IntProcedure procedure)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
valueback to summary
public void value(int argument)

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

Annotations
@Override