org.dellroad.stuff.java
Interface PrimitiveSwitch<R>

Type Parameters:
R - switch method return type
All Known Implementing Classes:
PrimitiveSwitchAdapter

public interface PrimitiveSwitch<R>

Visitor pattern interface for Primitives.


Method Summary
 R caseBoolean()
           
 R caseByte()
           
 R caseCharacter()
           
 R caseDouble()
           
 R caseFloat()
           
 R caseInteger()
           
 R caseLong()
           
 R caseShort()
           
 

Method Detail

caseBoolean

R caseBoolean()

caseByte

R caseByte()

caseCharacter

R caseCharacter()

caseShort

R caseShort()

caseInteger

R caseInteger()

caseFloat

R caseFloat()

caseLong

R caseLong()

caseDouble

R caseDouble()