Class Ints

java.lang.Object
org.apache.parquet.Ints

@Deprecated public final class Ints extends Object
Deprecated.
Utilities for working with ints
  • Method Details

    • checkedCast

      public static int checkedCast(long value)
      Deprecated.
      Cast value to a an int, or throw an exception if there is an overflow.
      Parameters:
      value - a long to be casted to an int
      Returns:
      an int that is == to value
      Throws:
      IllegalArgumentException - if value can't be casted to an int