docs / it.uniroma3.dbtree.spi.impl.keyParsers / DepartmentEmployee

DepartmentEmployee

class DepartmentEmployee : Comparable<DepartmentEmployee>, Serializable (source)

The Key type maintained by the DepartmentEmployeesParser.

Constructors

<init>

The Key type maintained by the DepartmentEmployeesParser.

DepartmentEmployee(depName: String, info: Person)

Properties

depName

The department name where the employee works.

var depName: String

info

The information about the employ. Provided as Person

var info: Person

Functions

compareTo

fun compareTo(other: DepartmentEmployee): Int

equals

fun equals(other: Any?): Boolean

toString

fun toString(): String

Companion Object Properties

comparator

val comparator: Comparator<DepartmentEmployee>

Companion Object Functions

getMax

fun getMax(): DepartmentEmployee

getMin

fun getMin(): DepartmentEmployee