object/src/main/java/com/orientechnologies/orient/object/enumerations/OObjectEnumLazyList.java
private void convert(final int iIndex) {
    if (converted)
      return;

    Object o = list.get(iIndex);
    if (o == null) {
      o = serializedList.get(iIndex);
      if (o instanceof Number)
        o = enumClass.getEnumConstants()[((Number) o).intValue()];
      else
        o = Enum.valueOf(enumClass, o.toString());
      list.set(iIndex, (TYPE) o);
    }
  }
private void convert(final int iIndex) {
    if (converted)
      return;

    Object o = list.get(iIndex);
    if (o == null) {
      o = serializedList.get(iIndex);
      if (o instanceof Number)
        o = enumClass.getEnumConstants()[((Number) o).intValue()];
      else
        o = Enum.valueOf(enumClass, o.toString());
      list.set(iIndex, (TYPE) o);
    }
  }
private void convert ( final int iIndex ) { if ( converted ) return ; Object o = list . get ( iIndex ) ; if ( o == null ) { o = serializedList . get ( iIndex ) ; if ( o instanceof Number ) o = enumClass . getEnumConstants ( ) [ ( ( Number ) o ) . intValue ( ) ] ; else o = Enum . valueOf ( enumClass , o . toString ( ) ) ; list . set ( iIndex , ( TYPE ) o ) ; } }
Convert the item requested.

@param iIndex
Position of the item to convert
Convert the item requested .