Code example for Function

Methods: apply

0
      ImageBuilder builder = new ImageBuilder(); 
      builder.ids(from.getId() + ""); 
      builder.name(from.getName()); 
      builder.description(from.getName()); 
      builder.version(from.getUpdated().getTime() + ""); 
      builder.operatingSystem(imageToOs.apply(from)); 
      builder.status(toPortableImageStatus.get(from.getStatus())); 
      Image image = builder.build(); 
      return image; 
   } 
} 
Connect your IDE to all the code out there  Get Codota for Java