Package org.apache.spark.sql.types
Class ShortExactNumeric
Object
org.apache.spark.sql.types.ShortExactNumeric
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic T
abs
(T x) static int
compare
(short x, short y) abstract static boolean
static boolean
equiv
(T x, T y) static short
fromInt
(int x) static boolean
gt
(T x, T y) static boolean
gteq
(T x, T y) static boolean
lt
(T x, T y) static boolean
lteq
(T x, T y) static T
max
(T x, T y) static T
min
(T x, T y) static short
minus
(short x, short y) static scala.math.Integral<T>.scala.math.Integral.IntegralOps
mkNumericOps
(T lhs) static scala.math.Ordering<T>.scala.math.Ordering.Ops
mkOrderingOps
(T lhs) static short
negate
(short x) static <U> scala.math.Ordering<U>
on
(scala.Function1<U, T> f) static T
one()
static short
plus
(short x, short y) static short
quot
(short x, short y) static short
rem
(short x, short y) static scala.math.Ordering<T>
reverse()
static Comparator<T>
reversed()
static int
signum
(T x) static Comparator<T>
thenComparing
(Comparator<? super T> x$1) static <U extends Comparable<? super U>>
Comparator<T>thenComparing
(Function<? super T, ? extends U> x$1) static <U> Comparator<T>
thenComparing
(Function<? super T, ? extends U> x$1, Comparator<? super U> x$2) static Comparator<T>
thenComparingDouble
(ToDoubleFunction<? super T> x$1) static Comparator<T>
thenComparingInt
(ToIntFunction<? super T> x$1) static Comparator<T>
thenComparingLong
(ToLongFunction<? super T> x$1) static short
times
(short x, short y) static double
toDouble
(short x) static float
toFloat
(short x) static int
toInt
(short x) static long
toLong
(short x) static scala.Some<Object>
tryCompare
(T x, T y) static T
zero()
-
Constructor Details
-
ShortExactNumeric
public ShortExactNumeric()
-
-
Method Details
-
plus
public static short plus(short x, short y) -
minus
public static short minus(short x, short y) -
times
public static short times(short x, short y) -
negate
public static short negate(short x) -
equals
-
reversed
-
thenComparing
-
thenComparing
public static <U> Comparator<T> thenComparing(Function<? super T, ? extends U> x$1, Comparator<? super U> x$2) -
thenComparing
public static <U extends Comparable<? super U>> Comparator<T> thenComparing(Function<? super T, ? extends U> x$1) -
thenComparingInt
-
thenComparingLong
-
thenComparingDouble
-
tryCompare
-
lteq
public static boolean lteq(T x, T y) -
gteq
public static boolean gteq(T x, T y) -
lt
public static boolean lt(T x, T y) -
gt
public static boolean gt(T x, T y) -
equiv
public static boolean equiv(T x, T y) -
max
public static T max(T x, T y) -
min
public static T min(T x, T y) -
reverse
public static scala.math.Ordering<T> reverse() -
on
public static <U> scala.math.Ordering<U> on(scala.Function1<U, T> f) -
mkOrderingOps
public static scala.math.Ordering<T>.scala.math.Ordering.Ops mkOrderingOps(T lhs) -
zero
public static T zero() -
one
public static T one() -
abs
public static T abs(T x) -
signum
public static int signum(T x) -
mkNumericOps
public static scala.math.Integral<T>.scala.math.Integral.IntegralOps mkNumericOps(T lhs) -
quot
public static short quot(short x, short y) -
rem
public static short rem(short x, short y) -
fromInt
public static short fromInt(int x) -
toInt
public static int toInt(short x) -
toLong
public static long toLong(short x) -
toFloat
public static float toFloat(short x) -
toDouble
public static double toDouble(short x) -
compare
public static int compare(short x, short y)
-