class CallableFn extends Fn with Invoke
Функция с возможностью вызова
- Alphabetic
- By Inheritance
- CallableFn
- Invoke
- Fn
- Fun
- TypeVarFetch
- TypeVarReplace
- Type
- Genericable
- Extendable
- Assignable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CallableFn(fgParams: GenericParams, fParams: Params, fReturn: Type, call: (Seq[Any]) ⇒ Any)
- fgParams
Список типов параметров
- fParams
Параметры функции
- fReturn
Возвращаемый тип данных
- call
Реализация функции
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
assignable(t: Type): Boolean
Проверяет что для текущего типа-функции (this) возможна операция присвоения типа функции t
Проверяет что для текущего типа-функции (this) возможна операция присвоения типа функции t
- t
присваемый тип данных
- returns
true - операция допускается, false - не допускается
- Definition Classes
- Fn → Fun → Genericable → Extendable → Assignable
- def call(args: Iterable[_]): Any
- val call: (Seq[Any]) ⇒ Any
-
def
callable[Z](impl: Function[List[Any], Any]): CallableFn
- Definition Classes
- Fn
-
def
clone(fgParams: GenericParams, fParams: Params, fReturn: Type): Fn
Клонирование
Клонирование
- fgParams
Определение переменных типа - функции
- fParams
Параметры функции
- fReturn
Результат функции
- returns
клон
- Attributes
- protected
- Definition Classes
- CallableFn → Fn
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extend: Option[Type]
Возвращает родительский тип данных
-
lazy val
generics: GenericParams
Список параметров типа
Список параметров типа
- Definition Classes
- Fn → Genericable
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
lazy val
inputTypeVariables: Seq[TypeVariable]
- Definition Classes
- Fn
-
def
invoke(args: Seq[Any]): Any
Вызов функции
-
def
invoke[A, B, C, D, E, Z](impl: (A, B, C, D, E) ⇒ Z): CallableFn
Указывает реализацию
-
def
invoke[A, B, C, D, Z](impl: (A, B, C, D) ⇒ Z): CallableFn
Указывает реализацию
-
def
invoke[A, B, C, Z](impl: (A, B, C) ⇒ Z): CallableFn
Указывает реализацию
-
def
invoke[A, B, Z](impl: (A, B) ⇒ Z): CallableFn
Указывает реализацию
-
def
invoke[A, Z](impl: (A) ⇒ Z): CallableFn
Указывает реализацию
-
def
invoke[Z](impl: () ⇒ Z): CallableFn
Указывает реализацию
-
def
invoking[Z](impl: (Seq[Any]) ⇒ Any): CallableFn
Указывает реализацию
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
lazy val
outTypeVariable: Seq[TypeVariable]
- Definition Classes
- Fn
-
lazy val
parameters: Params
Параметры функции
-
lazy val
returns: Type
Результат вызова функции
-
def
sameTypes(f: Fun): Boolean
Проверяет что параметры функции и параметры типа совпадают с указанной функцией
Проверяет что параметры функции и параметры типа совпадают с указанной функцией
- f
функция
- returns
true - совпадают
- Definition Classes
- Fun
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
Возвращает сигнатуру функции
-
def
typeVarFetch(from: List[Any] = List()): List[TypeVarLocator]
Извлечение переменных
Извлечение переменных
- from
Путь относительно которого происходит вызов
- returns
список переменных
- Definition Classes
- Fn → TypeVarFetch
-
def
typeVarReplace(recipe: (TypeVariable) ⇒ Option[Type]): Fun
Замена переменных
-
def
typeVarReplace(recipe: (String, Type)*): Fun
Замена переменных
-
def
typeVarReplacer(recipe: Consumer[TypeVarReplacer]): Fun
- Definition Classes
- TypeVarReplace
-
lazy val
typeVariables: Seq[TypeVariable]
Экземепляры переменных типа
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
object
typeVarBake
Замена переменных
Замена переменных
- Definition Classes
- TypeVarReplace
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.