GraphQLMap

open class GraphQLMap<K, V>(val originMap: Map<K, V>, val size: Int)

Generic GraphQL compliant representation of a Map.

Parameters

originMap

the wrapped map

size

the size of the wrapped map

Inheritors

Constructors

Link copied to clipboard
constructor(originMap: Map<K, V>, size: Int)

Properties

Link copied to clipboard
open val originMap: Map<K, V>
Link copied to clipboard
open val size: Int

Functions

Link copied to clipboard
operator fun get(key: K): V?

Custom indexing with the key of the wrapped Map.