Package-level declarations

Types

Link copied to clipboard
class GTimer

带修复功能的计时器

Link copied to clipboard
data class Point2D(val x: Int, val y: Int) : Comparable<Point2D>

用于表示一个二维坐标

Link copied to clipboard
data class Rect2D(val x: Int, val y: Int, val width: Int, val height: Int) : Comparable<Rect2D>

用于表示一个矩形区域

Link copied to clipboard
class TaskManager(size: Int)

线程安全的任务管理器

Functions

Link copied to clipboard
inline fun AtomicInteger.updateWith(updater: (Int) -> Int)

在当前值的基础上或一个数值,并复制给 Atomic。