code: public LFgExample get(int i) {
          LFgExample ex;
          synchronized (cache) {
              ex = cache.get(i);
          }
          if (ex == null) {            
              ex = exampleFactory.get(i);
              synchronized (cache) {
                  cache.put(i, ex);
              }
          }
          return ex;
      }
docs: Gets the i'th example.