Package graphql.extensions
Class DefaultExtensionsMerger
- java.lang.Object
-
- graphql.extensions.DefaultExtensionsMerger
-
- All Implemented Interfaces:
ExtensionsMerger
public class DefaultExtensionsMerger extends java.lang.Object implements ExtensionsMerger
-
-
Field Summary
-
Fields inherited from interface graphql.extensions.ExtensionsMerger
DEFAULT
-
-
Constructor Summary
Constructors Constructor Description DefaultExtensionsMerger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull java.util.Map<java.lang.Object,java.lang.Object>
merge(@NonNull java.util.Map<java.lang.Object,java.lang.Object> leftMap, @NonNull java.util.Map<java.lang.Object,java.lang.Object> rightMap)
Called to merge the map on the left with the map on the right according to whatever code strategy some-one might envisage
-
-
-
Method Detail
-
merge
public @NonNull java.util.Map<java.lang.Object,java.lang.Object> merge(@NonNull java.util.Map<java.lang.Object,java.lang.Object> leftMap, @NonNull java.util.Map<java.lang.Object,java.lang.Object> rightMap)
Description copied from interface:ExtensionsMerger
Called to merge the map on the left with the map on the right according to whatever code strategy some-one might envisageThe map on the left is guaranteed to have been encountered before the map on the right
- Specified by:
merge
in interfaceExtensionsMerger
- Parameters:
leftMap
- the map on the leftrightMap
- the map on the right- Returns:
- a non null merged map
-
-