Simple

interface Simple : HafasClassMapping

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

Functions

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

Properties

mapping
Link copied to clipboard
abstract val mapping: Array<ProductClass>