HalfKt

public final class HalfKt


Summary

Public methods

static final @RequiresApi(value = "26") @NonNull Half
HalfKt.toHalf(@HalfFloat short receiver)

Returns a Half instance representing given Short.

static final @RequiresApi(value = "26") @NonNull Half
HalfKt.toHalf(float receiver)

Returns a Half instance representing given Float.

static final @RequiresApi(value = "26") @NonNull Half
HalfKt.toHalf(double receiver)

Returns a Half instance representing given Double.

static final @RequiresApi(value = "26") @NonNull Half

Returns a Half instance representing given String.

Public methods

HalfKt.toHalf

@RequiresApi(value = "26")
@NonNull
public static final @RequiresApi(value = "26") Half HalfKt.toHalf(@HalfFloat short receiver)

Returns a Half instance representing given Short.

See also
valueOf

HalfKt.toHalf

@RequiresApi(value = "26")
@NonNull
public static final @RequiresApi(value = "26") Half HalfKt.toHalf(float receiver)

Returns a Half instance representing given Float.

See also
valueOf

HalfKt.toHalf

@RequiresApi(value = "26")
@NonNull
public static final @RequiresApi(value = "26") Half HalfKt.toHalf(double receiver)

Returns a Half instance representing given Double.

See also
valueOf

HalfKt.toHalf

@RequiresApi(value = "26")
@NonNull
public static final @RequiresApi(value = "26") Half HalfKt.toHalf(@NonNull String receiver)

Returns a Half instance representing given String.

See also
valueOf