@ SafeVarargs private final < O extends OperatorHelper > void initOperators ( Map < Name , List < O > > opsMap , O ... ops ) { for ( O o : ops ) { Name opName = o . name ; List < O > helpers = opsMap . getOrDefault ( opName , List . nil ( ) ) ; opsMap . put ( opName , helpers . prepend ( o ) ) ; } }
Complete the initialization of an operator helper by storing it into the corresponding operator map .