Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Strategy

Hierarchy

  • Strategy

Implemented by

Index

Methods

  • get(key: string): string
  • Returns the value associated with the specified key.

    Parameters

    • key: string

      non-null key to look up.

    Returns string

    the stored value, or null if no value is associated with the key.

  • put(key: string, value: string): void
  • Stores the given value under the specified key. If an entry with the same key already exists, it will be overwritten.

    Parameters

    • key: string

      non-null key that identifies the stored value.

    • value: string

      value to store.

    Returns void

  • remove(key: string): void
  • Removes the value associated with the specified key, if present.

    Parameters

    • key: string

      non-null key of the entry to delete.

    Returns void