Code example for ImmutableMap.Builder

Methods: build

0
    protected LrsObject getLrsObject(PortalEvent event) {
        Builder<String, LocalizedString> definitionBuilder = ImmutableMap.builder();
        return new LrsObject( 
                buildUrn("other", event.getClass().getName()),
                getDefaultObjectType(), 
                definitionBuilder.build());
    } 
}