case class CoVariant(name: String, tip: Type) extends GenericParam with Product with Serializable
Тип переменная TypeVariable указывает на ковариантный тип:
selfType.
assignable(
someType
).
- name
имя переменной
- tip
тип переменной
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CoVariant
- Serializable
- Serializable
- Product
- Equals
- GenericParam
- Named
- Type
- Genericable
- Extendable
- Assignable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
Проверка возможности присвоение с учетом параметров типа
Проверка возможности присвоение с учетом параметров типа
- t
присваемый тип данных
- returns
true - операция допускается, false - не допускается
- Definition Classes
- CoVariant → Genericable → Extendable → Assignable
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
lazy val
extend: Option[Type]
Возвращает родительский тип данных
Возвращает родительский тип данных
- returns
родительский тип
- Definition Classes
- GenericParam → Extendable
-
lazy val
generics: GenericParams
Список параметров типа
Список параметров типа
- Definition Classes
- GenericParam → Genericable
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
name: String
Возвращает наименование
-
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()
-
def
sameType(t: GenericParam): Boolean
- Definition Classes
- CoVariant → GenericParam
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tip: Type
-
def
toString(): String
- Definition Classes
- CoVariant → AnyRef → Any
-
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( ... )
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.