interface Par { public K hentNokkel(); public V hentVerdi(); } class OrdnetPar implements Par { private K nokkel; private V verdi; public OrdnetPar(K nokkel, V verdi) { this.nokkel = nokkel; this.verdi = verdi; } public K hentNokkel() { return nokkel; } public V hentVerdi() { return verdi; } }