Kactoos

kactoos-jvm / nnl.rocks.kactoos.scalar / InheritanceLevel

InheritanceLevel

class InheritanceLevel : Scalar<Int>

Calculates number of superclasses between base and derived class.

This class is thread safe.

Result interpretation:

Parameters

derived - Derived class

base - Base class

Since 0.4

Constructors

Name Summary
<init> InheritanceLevel(derived: Class<*>, base: Class<*>)
Calculates number of superclasses between base and derived class.

Functions

Name Summary
invoke fun invoke(): Int
Get value of this Scalar