Interface Question<A>

Type Parameters:
A - the Class of the Question's answer
All Known Subinterfaces:
RetryableQuestion<A>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Question<A>
A Question can be checked by an Actor
  • Method Summary

    Modifier and Type
    Method
    Description
    answerAs(Actor actor)
    Answer this Question as the given Actor.