Skip to content

Instantly share code, notes, and snippets.

@yp-palF
Last active March 31, 2019 06:03
Show Gist options
  • Save yp-palF/50b0f0a6db5e8f8ae305b3474134b3e3 to your computer and use it in GitHub Desktop.
Save yp-palF/50b0f0a6db5e8f8ae305b3474134b3e3 to your computer and use it in GitHub Desktop.
Lambda BLOG
class Movie {
private MovieType genre;
private Double price;
public MovieType getGenre() { return genre; }
public void setGenre(MovieType genre) { this.genre = genre; }
public Double getPrice() { return price; }
public void setPrice(Double price) { this.price = price; }
enum MovieType {
HORROR, COMEDY, ACTION
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment