mirror of
https://github.com/DanilaFe/abacus
synced 2024-06-24 03:37:07 -07:00
10 lines
143 B
Kotlin
10 lines
143 B
Kotlin
package org.nwapw.abacus.tree
|
|
|
|
/**
|
|
* A tree node.
|
|
*/
|
|
abstract class TreeNode {
|
|
|
|
abstract fun <T : Any> reduce(reducer: Reducer<T>): T?
|
|
|
|
} |