StringMapping

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.ctdp.rfdynhud.util
Class StringMapping

    java.lang.Object
      net.ctdp.rfdynhud.util.StringMapping

    public class StringMapping

extends java.lang.Object

This is a simple utility class, that maps one string to another one.

Author:
  Marvin Froehlich (CTDP)

Constructor Summary
`StringMapping(java.lang.String key, java.lang.String value)`

Method Summary
`boolean` | `equals(java.lang.Object o)`
`java.lang.String` | `getKey()` Gets the key-String.
`java.lang.String` | `getValue()` Gets the value-String.
`int` | `hashCode()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StringMapping

    public StringMapping(java.lang.String key,
                         java.lang.String value)

Method Detail

### getKey

    public final java.lang.String getKey()

  Gets the key-String.

  Returns:
    the key-String.

### getValue

    public final java.lang.String getValue()

  Gets the value-String.

  Returns:
    the value-String.

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `java.lang.Object`

### equals

    public boolean equals(java.lang.Object o)

  Overrides:
    `equals` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD