Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.resteasy.cdi.injection;
 
 
 import  javax.enterprise.context.SessionScoped;

Author(s):
Ron Sigal
Version:
$Revision: 1.1 $ Copyright May 26, 2012
@SessionScoped
public class BookBag implements BookBagLocal
   private HashSet<Bookbooks = new HashSet<Book>();
   
   public void addBook(Book book)
   {
      .add(book);
   }
   public Collection<BookgetContents()
   {
      return new HashSet<Book>();
   }
New to GrepCode? Check out our FAQ X