private ConcurrentHashMap < String , BaseMethodBinding < ? > > getMapForOperation ( RestOperationTypeEnum operationType ) { ConcurrentHashMap < String , BaseMethodBinding < ? > > result = operationBindings . get ( operationType ) ; if ( result == null ) { operationBindings . putIfAbsent ( operationType , new ConcurrentHashMap < String , BaseMethodBinding < ? > > ( ) ) ; return getMapForOperation ( operationType ) ; } else { return result ; } }
Get the map for the given operation type . If no map exists for this operation type create a new hashmap for this operation type and add it to the operation bindings .