Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.dropwizard.jdbi;
 
 
     @Override
     public boolean accepts(Class<?> type) {
        return ImmutableList.class.isAssignableFrom(type);
    }
    @Override
        return new ImmutableListContainerBuilder();
    }
    private static class ImmutableListContainerBuilder implements ContainerBuilder<ImmutableList<?>> {
        private final ImmutableList.Builder<Objectbuilder = ImmutableList.builder();
        @Override
        public ContainerBuilder<ImmutableList<?>> add(Object it) {
            .add(it);
            return this;
        }
        @Override
        public ImmutableList<?> build() {
            return .build();
        }
    }
New to GrepCode? Check out our FAQ X