getAsLongWithDefault method

int getAsLongWithDefault (int index int defaultValue)

Converts array element into a long or returns default value if conversion is not possible.

  • index an index of element to get.
  • defaultValue the default value Returns long value ot the element or default value if conversion is not supported.

See LongConverter.toLongWithDefault