code: private List<Integer> asIntList(Object value) {
          int[] values = (int[]) value;
          List<Integer> list = new ArrayList<Integer>(values.length);
          for (int integer : values) {
              list.add(integer);
          }
          return list;
      }
docs: Returns value as an Integer List.
  
  @param value array to convert.
  
  @return value as an Integer List.