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

public Class ByteCaseProcedure

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

Constructor Summary

AccessConstructor and Description
public
public
ByteCaseProcedure(ByteProcedure newDefaultProcedure)

Method Summary

Modifier and TypeMethod and Description
public ByteCaseProcedure
addCase(BytePredicate predicate, ByteProcedure procedure)

public ByteCaseProcedure
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 ByteProcedure defaultProcedure
predicateProceduresback to summary
private final MutableList<Pair<BytePredicate, ByteProcedure>> predicateProcedures
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

ByteCaseProcedureback to summary
public ByteCaseProcedure()
ByteCaseProcedureback to summary
public ByteCaseProcedure(ByteProcedure newDefaultProcedure)

Method Detail

addCaseback to summary
public ByteCaseProcedure addCase(BytePredicate predicate, ByteProcedure procedure)
setDefaultback to summary
public ByteCaseProcedure setDefault(ByteProcedure 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(byte argument)

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

Annotations
@Override