Sanne Grinovero edited a comment on Bug OGM-208

About these two fragments:

public interface OptionValueTuple<Option,Value> {
        Option getOption();
        Value getValue();
    }

Option can be of any type, in particular it could be represented as

  • an enum value
  • a Class object in particular an annotation class object
  • a String

How can I implement that interface but change the return type of getOption() to something different?
I guess you mean my custom OptionValueTuple should return a custom MultiOption ?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira