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 Details

    • caseVoid

      R caseVoid()
    • caseBoolean

      R caseBoolean()
    • caseByte

      R caseByte()
    • caseCharacter

      R caseCharacter()
    • caseShort

      R caseShort()
    • caseInteger

      R caseInteger()
    • caseFloat

      R caseFloat()
    • caseLong

      R caseLong()
    • caseDouble

      R caseDouble()