Home | History | Annotate | Download | only in tests
      1 package annotator.tests;
      2 
      3 import java.util.List;
      4 
      5 public class GenericCell {
      6   private List<IntCell> internalList;
      7 
      8   public GenericCell(List<IntCell> list) {
      9     internalList = list;
     10   }
     11 
     12   public List<IntCell> getList() {
     13     return internalList;
     14   }
     15 
     16   public static class IntCell {
     17     private int i;
     18 
     19     public IntCell(int in) {
     20       this.i = in;
     21     }
     22 
     23     public void set(int in) {
     24       this.i = in;
     25     }
     26 
     27     public int get() {
     28       return i;
     29     }
     30   }
     31 
     32 }
     33