Package-level declarations

No backward compatibility guarantees! Different Sequence and Iterator implementations.

Types

Link copied to clipboard
abstract class BaseBigIntFromUntilRepeatingIterator<T>(from: BigInt, toExclusive: BigInt, offset: BigInt = BigInt.ZERO, step: BigInt = BigInt.ONE) : Iterator<T>

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
abstract class BaseIntFromUntilRepeatingIterator<T>(from: Int, toExclusive: Int, offset: Int = 0, step: Int = 1) : Iterator<T>

Returns an Iterator which produces an infinite stream of Ts based on an Int range from (inclusive) until toExclusive considering the given step and offset.

Link copied to clipboard
abstract class BaseLongFromUntilRepeatingIterator<T>(from: Long, toExclusive: Long, offset: Long = 0, step: Long = 1) : Iterator<T>

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
class BigIntFromUntilRepeatingIterator(from: BigInt, toExclusive: BigInt, offset: BigInt = BigInt.ZERO, step: BigInt = BigInt.ONE) : BaseBigIntFromUntilRepeatingIterator<BigInt>

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
class ForeverConstantIterator<T>(constant: T) : Iterator<T>

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
class ForeverConstantSequence<T>(constant: T) : Sequence<T>

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
class IntFromUntilRepeatingIterator(from: Int, toExclusive: Int, offset: Int = 0, step: Int = 1) : BaseIntFromUntilRepeatingIterator<Int>

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
open class IntRepeatingSequence<T>(from: Int, toExclusive: Int, offset: Int, argsProvider: (Int) -> T, step: Int = 1) : Sequence<T>

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
class LongFromUntilRepeatingIterator(from: Long, toExclusive: Long, offset: Long = 0, step: Long = 1) : BaseLongFromUntilRepeatingIterator<Long>

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
class RepeatingArraySequence<T>(values: Array<T>, offset: Int) : Sequence<T>

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
class RepeatingListSequence<T>(values: List<T>, offset: Int) : Sequence<T>

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
class RepeatingRandomAccessSequence<T>(size: Int, offset: Int, elementAt: (Int) -> T) : IntRepeatingSequence<T>

!! No backward compatibility guarantees !! Reuse at your own risk

Properties

Link copied to clipboard

!! No backward compatibility guarantees !! Reuse at your own risk

Functions

Link copied to clipboard
fun checkIsNotBlank(value: String, description: String): <Error class: unknown class>

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
fun checkIsPositive(value: BigInt, description: String)
fun checkIsPositive(value: Int, description: () -> String): <Error class: unknown class>
fun checkIsPositive(value: Int, description: String)
fun checkIsPositive(value: Long, description: String)

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
fun checkRangeNumbers(from: BigInt, toExclusive: BigInt, offset: BigInt, step: BigInt)
fun checkRangeNumbers(from: Int, toExclusive: Int, offset: Int, step: Int)
fun checkRangeNumbers(from: Long, toExclusive: Long, offset: Long, step: Long)

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
fun checkRequestedMinArgsMaxArgs(requestedMinArgs: Int?, maxArgs: Int?)

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
fun determineStartingIndex(from: BigInt, toExclusive: BigInt, offset: BigInt, step: BigInt): BigInteger
fun determineStartingIndex(from: Long, toExclusive: Long, offset: Long, step: Long): Long

!! No backward compatibility guarantees !! Reuse at your own risk

fun determineStartingIndex(from: Int, toExclusive: Int, offset: Int, step: Int): Int

Convenience method which converts to Long and then calls determineStartingIndex and converts the result back to Int

Link copied to clipboard
fun failIfNegative(value: Int, description: String)
fun failIfNegative(value: Long, description: String)

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
inline fun <T : Any> Annotation.getPropertyValue(propertyName: String): T
fun <T : Any> Annotation.getPropertyValue(propertyName: String, type: KClass<T>): T

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
inline fun <T : Any> loadService(qualifiedName: String): T

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
inline fun <T : Any> loadServices(): ServiceLoader<T>

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
fun <E : Comparable<E>> requireFromLessThanOrEqualToExclusive(from: E, toInclusive: E): <Error class: unknown class>

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
fun <E : Comparable<E>> requireFromLessThanToExclusive(from: E, toExclusive: E): <Error class: unknown class>

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard
fun <T> requireNoDuplicates(list: List<T>, errMsg: (duplicates: Set<T>) -> String)

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard

!! No backward compatibility guarantees !! Reuse at your own risk

Link copied to clipboard

!! No backward compatibility guarantees !! Reuse at your own risk