PORTO-
FREI

Covariance and Contravariance (computer science)

Type System, Programming Language, Subtype Polymorphism, Category Theory, Covariance and Contravariance of Vectors, Class Hierarchy, Object- oriented Programming, Liskov Substitution Principle.

von Alphascript Publishing

These terms come from category theory, which has a general definition of covariance and contravariance that unifies the computer science definition of these terms with the definition used in vector spaces. This distinction is important in considering argument and return types of methods in class hierarchies. In object-oriented languages such as C++, if class B is a subtype of class A, then all member functions of B must return the same or narrower set of types as A; the return type is said to be covariant. On the other hand, the member functions of B must take the same or broader set of arguments compared with the member functions of A; the argument type is said to be contravariant.

Buch (Kartoniert)

EUR 34,00

Alle Preisangaben inkl. MwSt.

  nicht lieferbar

Versandkostenfrei*

Dieser Artikel kann nicht bestellt werden.
 

Produktbeschreibung

These terms come from category theory, which has a general definition of covariance and contravariance that unifies the computer science definition of these terms with the definition used in vector spaces. This distinction is important in considering argument and return types of methods in class hierarchies. In object-oriented languages such as C++, if class B is a subtype of class A, then all member functions of B must return the same or narrower set of types as A; the return type is said to be covariant. On the other hand, the member functions of B must take the same or broader set of arguments compared with the member functions of A; the argument type is said to be contravariant. 

Mehr vom Verlag:

Alphascript Publishing

Produktdetails

Medium: Buch
Format: Kartoniert
Seiten: 88
Sprache: Englisch
Erschienen: Januar 2010
Maße: 220 x 150 mm
Gewicht: 147 g
ISBN-10: 6130630816
ISBN-13: 9786130630812

Bestell-Nr.: 6098843 
Libri-Verkaufsrang (LVR):
Libri-Relevanz: 0 (max 9.999)
 

Ist ein Paket? 0
Rohertrag: 9,53 €
Porto: 1,84 €
Deckungsbeitrag: 7,69 €

LIBRI: 0000000
LIBRI-EK*: 22.24 € (30%)
LIBRI-VK: 34,00 €
Libri-STOCK: 0
* EK = ohne MwSt.

UVP: 0 
Warengruppe: 16390 

KNO: 24591265
KNO-EK*: 22.24 € (30%)
KNO-VK: 34,00 €
KNO-STOCK: 0
KNO-MS: 97

KNOABBVERMERK: 2010. 88 S.
KNOMITARBEITER: Herausgeber: McBrewster, John, Miller, Frederic P., Vandome, Agnes F.
Einband: Kartoniert
Sprache: Englisch
Beilage(n): Paperback

Im Themenkatalog stöbern

› Start › English Books

Alle Preise inkl. MwSt. , innerhalb Deutschlands liefern wir immer versandkostenfrei . Informationen zum Versand ins Ausland .

Kostenloser Versand *

innerhalb eines Werktages

OHNE RISIKO

30 Tage Rückgaberecht

Käuferschutz

mit Geld-Zurück-Garantie