booster / com.didiglobal.booster.cha / ClassSet

ClassSet

interface ClassSet<ClassFile, ClassParser : ClassFileParser<ClassFile>> : Set<ClassFile>, Closeable

Author
johnsonlee

Properties

parser

abstract val parser: ClassParser

Functions

contains

abstract operator fun contains(name: String): Boolean
open fun contains(element: ClassFile): Boolean

containsAll

open fun containsAll(elements: Collection<ClassFile>): Boolean

get

abstract operator fun get(name: String): ClassFile?

load

abstract fun load(): ClassSet<ClassFile, ClassParser>

plus

open operator fun plus(classSet: ClassSet<ClassFile, ClassParser>): ClassSet<ClassFile, ClassParser>

Companion Object Functions

from

fun <ClassFile, ClassParser : ClassFileParser<ClassFile>> from(file: File, parser: ClassParser): ClassSet<ClassFile, ClassParser>

of

fun <ClassFile, ClassParser : ClassFileParser<ClassFile>> of(vararg classSets: ClassSet<ClassFile, ClassParser>): ClassSet<ClassFile, ClassParser>
fun <ClassFile, ClassParser : ClassFileParser<ClassFile>> of(classSets: Iterable<ClassSet<ClassFile, ClassParser>>): ClassSet<ClassFile, ClassParser>

Inheritors

AbstractClassSet

abstract class AbstractClassSet<ClassFile, ClassParser : ClassFileParser<ClassFile>> : ClassSet<ClassFile, ClassParser>