GraphMine

graphmine-util / io.github.sof3.graphmine.util.qualifier / Qualifier

Qualifier

class Qualifier

Represents a qualified identifier.

Parameters

string - the dot-delimited qualified identifier

Constructors

<init> Qualifier(string: String)
Represents a qualified identifier.

Properties

parts val parts: List<String>
The string parts of the qualifier
simple val simple: String
The last part of the qualifier, which is also the most frequently used one

Functions

equals fun equals(other: Any?): Boolean
Checks if two identifiers are fully equal based on the contents of parts
forEachPermutation fun forEachPermutation(fn: (List<String>) -> Unit): Unit
Executes fn on each possible representation of this qualifier
hashCode fun hashCode(): Int
Returns the lazily-evaluated hash code of the qualifier only based on the contents of parts
toString fun toString(): String
Returns the dot-delimited representation of the qualifier