class DmrModelList extends DmrModelValue implements ModelList {

   @Override
   public ModelValue get(int index)
   {
      int size = (isDefined()) ? value.asInt() : 0;
      if (size <= index) throw new IndexOutOfBoundsException("Index: " + index + ", Size: " + size);

      return asValue(value.get(index));
   }

     DmrModelList(ModelNode value);

}