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

public Class LongCaseProcedure

extends Object
implements LongProcedure
Class Inheritance
All Implemented Interfaces
org.eclipse.collections.api.block.procedure.primitive.LongProcedure, java.io.Serializable, java.util.function.LongConsumer
Imports
org.eclipse.collections.api.block.predicate.primitive.LongPredicate, org.eclipse.collections.api.block.procedure.primitive.LongProcedure, 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 LongProcedure
private final MutableList<Pair<LongPredicate, LongProcedure>>
private static final long

Constructor Summary

AccessConstructor and Description
public
public
LongCaseProcedure(LongProcedure newDefaultProcedure)

Method Summary

Modifier and TypeMethod and Description
public LongCaseProcedure
addCase(LongPredicate predicate, LongProcedure procedure)

public LongCaseProcedure
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 LongProcedure defaultProcedure
predicateProceduresback to summary
private final MutableList<Pair<LongPredicate, LongProcedure>> predicateProcedures
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

LongCaseProcedureback to summary
public LongCaseProcedure()
LongCaseProcedureback to summary
public LongCaseProcedure(LongProcedure newDefaultProcedure)

Method Detail

addCaseback to summary
public LongCaseProcedure addCase(LongPredicate predicate, LongProcedure procedure)
setDefaultback to summary
public LongCaseProcedure setDefault(LongProcedure 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(long argument)

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

Annotations
@Override