Package renetik.android.core.lang

Types

Link copied to clipboard
typealias ArgArgFunc<Arg1, Arg2> = (Arg1, Arg2) -> void
Link copied to clipboard
typealias ArgFunc<Arg> = (Arg) -> void
Link copied to clipboard
typealias ArgReturnFunc<Arg, Return> = (Arg) -> Return
Link copied to clipboard
class CSAssociations
Link copied to clipboard
object CSBackground
Link copied to clipboard
class CSButtonAction(val title: String, val onClick: () -> Unit)
Link copied to clipboard
object CSComparisonConstants
Link copied to clipboard
interface CSCondition
Link copied to clipboard
value class CSConditionalResult(doElseIf: Boolean)
Link copied to clipboard
object CSDataConstants
Link copied to clipboard
object CSEnvironment
Link copied to clipboard
interface CSHasDrawable
Link copied to clipboard
interface CSHasId
Link copied to clipboard
interface CSHasTitle
Link copied to clipboard
object CSLang
Link copied to clipboard
data class CSLayoutRes(@LayoutRes val id: Int)
Link copied to clipboard
class CSLazyVar<T>(initializer: () -> T) : ReadWriteProperty<Any?, T>
Link copied to clipboard
object CSLeakCanary
object CSLeakCanary
Link copied to clipboard
interface CSLeakCanaryInterface
Link copied to clipboard
class CSList<T> : ArrayList<T> , CSListInterface<T> , MutableCollection<T> , MutableList<T>
Link copied to clipboard
interface CSListContainer<T>
Link copied to clipboard
interface CSListInterface<T> : Iterable<T> , CSSize, Collection<T>
Link copied to clipboard
object CSMainHandler
Link copied to clipboard
class CSPropertyValidator<T>(val property: CSVariable<T>, val validate: (T) -> Boolean) : CSValidator
Link copied to clipboard
class CSRunConsolidator(miliseconds: Int)
Link copied to clipboard
interface CSSize
Link copied to clipboard
interface CSSizeInterface
Link copied to clipboard
object CSStringConstants
Link copied to clipboard
object CSTimeConstants
Link copied to clipboard
interface CSValidator
Link copied to clipboard
class CSValidatorImplementation(val function: () -> Boolean?) : CSValidator
Link copied to clipboard
typealias Func = () -> void
Link copied to clipboard
typealias ReturnFunc<Return> = () -> Return
Link copied to clipboard
typealias void = Unit

Functions

Link copied to clipboard
fun CSLeakCanaryInterface.active(isActive: Boolean)
Link copied to clipboard
inline fun <E : Throwable> catch(block: () -> void): Result<void>
Link copied to clipboard
inline fun catchAll(block: () -> void): Result<void>
Link copied to clipboard
inline fun catchAllError(tryFunction: () -> Unit)
Link copied to clipboard
inline fun <ReturnType> catchAllErrorReturn(onExceptionReturn: ReturnType, tryFunction: () -> ReturnType): ReturnType
Link copied to clipboard
inline fun <ReturnType> catchAllErrorReturnNull(tryFunction: () -> ReturnType): ReturnType?
Link copied to clipboard
inline fun catchAllIgnore(tryFunction: Func)
Link copied to clipboard
inline fun catchAllWarn(tryFunction: () -> Unit)
Link copied to clipboard
inline fun <ReturnType> catchAllWarnReturn(onExceptionReturn: ReturnType, tryFunction: () -> ReturnType): ReturnType
Link copied to clipboard
inline fun <ReturnType> catchAllWarnReturnNull(message: String? = null, tryFunction: () -> ReturnType): ReturnType?
Link copied to clipboard
inline fun <ExceptionType : Throwable> catchError(tryFunction: () -> Unit)
Link copied to clipboard
inline fun <ExceptionType : Throwable, ReturnType> catchErrorReturn(onExceptionReturn: ReturnType, tryFunction: () -> ReturnType): ReturnType
inline fun <ReturnType, ExceptionType : Throwable> catchErrorReturn(tryFunction: () -> ReturnType, onExceptionReturn: (ExceptionType) -> ReturnType): ReturnType
Link copied to clipboard
inline fun <ExceptionType : Throwable, ReturnType> catchErrorReturnNull(tryFunction: () -> ReturnType): ReturnType?
Link copied to clipboard
inline fun <ExceptionType : Throwable> catchIgnore(tryFunction: Func)
Link copied to clipboard
inline fun <ReturnType> catchReturn(tryFunction: () -> ReturnType, onExceptionReturn: (Throwable) -> ReturnType): ReturnType
Link copied to clipboard
inline fun <ReturnType> catchReturnNull(tryFunction: () -> ReturnType): ReturnType?
Link copied to clipboard
inline fun <E : Throwable> catchWarn(block: () -> void): Result<void>
Link copied to clipboard
inline fun <ReturnType, ExceptionType : Throwable> catchWarnReturn(onExceptionReturn: ReturnType, tryFunction: () -> ReturnType): ReturnType
inline fun <ExceptionType : Throwable, ReturnType> catchWarnReturn(    message: String? = null,     tryFunction: () -> ReturnType,     onExceptionReturn: (ExceptionType) -> ReturnType): ReturnType
Link copied to clipboard
inline fun <ReturnType, ExceptionType : Throwable> catchWarnReturnNull(tryFunction: () -> ReturnType): ReturnType?
Link copied to clipboard
fun CSHasId(id: String): CSHasId
Link copied to clipboard
fun CSValidator(function: () -> Boolean?): CSValidator
Link copied to clipboard
fun <T : CSHasId> CSListContainer<T>.findById(id: String): T?
fun <T : CSHasId> CSListContainer<T>.findById(hasId: CSHasId): T?
Link copied to clipboard
fun <T : CSHasId> CSListContainer<T>.findIndexById(id: String): Int
fun <T : CSHasId> CSListContainer<T>.findIndexById(hasId: CSHasId): Int
Link copied to clipboard
fun <T> lazyVar(initializer: () -> T): CSLazyVar<T>
Link copied to clipboard
fun <ReturnType> tryAndFinally(tryFunction: () -> ReturnType, finally: () -> Unit): ReturnType

Properties

Link copied to clipboard
val CSSize.isEmpty: Boolean
Link copied to clipboard
val CSSize.notEmpty: Boolean