Class GraphQLMap

  • All Implemented Interfaces:

    
    public class GraphQLMap<K extends Object, V extends Object>
    
                        

    Generic GraphQL compliant representation of a Map.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Map<K, V> getOriginMap()
      Integer getSize()
      final V get(K key) Custom indexing with the key of the wrapped Map.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GraphQLMap

        GraphQLMap(Map<K, V> originMap, Integer size)
        Parameters:
        originMap - the wrapped map
        size - the size of the wrapped map