Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.errai.demo.grocery.client.shared;
 
 import java.util.List;
 
Represents a grocery list: a collection of grocery items that is maintained by a particular user.

Author(s):
jfuerth
public class GroceryList {
  private long id;
  
  private User owner;
  
  private List<Itemitems = new ArrayList<Item>();
  
  public long getId() {
    return ;
  }
  
  public User getOwner() {
    return ;
  }
  
  public List<ItemgetItems() {
    return ;
  }
New to GrepCode? Check out our FAQ X