Wicket
  1. Wicket
  2. WICKET-5038

Add equals() and hashcode() implementation to INamedParameters.NamedPair

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 6.7.0
    • Component/s: wicket

      Description

      It would be handy to have an equals() and hascode() implementation based on key and value, so that it is possible to do things like

      pageParameters.getAllNamed().contains(myNamedPair)

      In case you are interested:
      My current use case is that the page should check whether it is actually called with the pageparameters needed (i.e. using the unique, canonical URL), however ignoring some special params.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Peter Parson
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development