for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
/*
* @author : Jagepard <[email protected]>
* @license https://mit-license.org/ MIT
*/
package Behavioral.Iterator;
public class Item implements ItemInterface{
private final String name;
private final int price;
private final String description;
public Item(String name, int price, String description) {
this.name = name;
this.price = price;
this.description = description;
}
public String getName() {
return name;
public int getPrice() {
return price;
public String getDescription() {
return description;