HafasClassMapping

interface HafasClassMapping

Types

Simple
Link copied to clipboard
interface Simple : HafasClassMapping

A standard implementation that relies on Simple.mapping to indicate product classes

Functions

setFromBitmask
Link copied to clipboard
abstract fun setFromBitmask(from: Int): Set<ProductClass>
setToBitmask
Link copied to clipboard
abstract fun setToBitmask(from: Set<ProductClass>): Int
singleFromClass
Link copied to clipboard
abstract fun singleFromClass(from: Int): ProductClass
singleToClass
Link copied to clipboard
abstract fun singleToClass(from: ProductClass): Int

Inheritors

HafasClassMapping
Link copied to clipboard