An Entity of Type: Abstraction100002137, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

In object-oriented programming, an indexer allows instances of a particular class or struct to be indexed just like arrays. It is a form of operator overloading.

Property Value
dbo:abstract
  • In der Objektorientierten Programmierung erlaubt ein Indexer Instanzen einer Klasse oder einer Struktur, auf die gleiche Weise wie Arrays indiziert zu werden. Es handelt sich dabei um eine Art des Operator overloading. (de)
  • In object-oriented programming, an indexer allows instances of a particular class or struct to be indexed just like arrays. It is a form of operator overloading. (en)
  • 인덱서(indexer)는 객체 지향 프로그래밍에서 특정 클래스나 구조체의 인스턴스가 배열과 같이 인덱싱될 수 있게 한다. 연산자 오버로딩의 일종이다. (ko)
  • プログラミング言語におけるインデクサ (英: indexer) は、クラスや構造体のインスタンスに配列と同様の添字を指定してアクセスするための構文である。 (ja)
  • Indekser (ang. Indexer) – element języka programowania C#, który pozwala indeksować instancje danej klasy lub struktury tak jak tablice. Indeksery są podobne do właściwości klasy, z tą różnicą że ich metody dostępowe mogą przyjmować parametry. Składnia indeksera wygląda następująco: <modyfikator_dostępu> <zwracany_typ> this [lista_argumentów]{ get { // implementacja } set { // implementacja }} (pl)
  • 索引器(Indexer)是面向对象程序设计中允许一个类或者结构可以如同数组一样被索引(indexed)访问。为类定义一个索引器后,该类的行为就会像数组一样用数组访问运算符([ ])来访问该类的实例。这是一种运算符重载。 C#语言中通过重定义operator[]实现了索引器。Python语言中,类如果定义了__getitem__(self, key)与__setitem__(self, key, value)方法就能实现indexer。 (zh)
dbo:wikiPageID
  • 32602092 (xsd:integer)
dbo:wikiPageLength
  • 3388 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1096465292 (xsd:integer)
dbo:wikiPageWikiLink
dbp:date
  • April 2015 (en)
dbp:reason
  • is this a C# or a general OO concept? Surely the interesting thing is the use of the keyword 'this', not what is emphasised here? Why is this whole article only sourced to one C# forum post . Maybe an example of use of the example class would demonstrate the purpose of the construct. Wikipedia is not a manual, guidebook or textbook WP:NOTHOWTO. (en)
dbp:wikiPageUsesTemplate
dcterms:subject
rdf:type
rdfs:comment
  • In der Objektorientierten Programmierung erlaubt ein Indexer Instanzen einer Klasse oder einer Struktur, auf die gleiche Weise wie Arrays indiziert zu werden. Es handelt sich dabei um eine Art des Operator overloading. (de)
  • In object-oriented programming, an indexer allows instances of a particular class or struct to be indexed just like arrays. It is a form of operator overloading. (en)
  • 인덱서(indexer)는 객체 지향 프로그래밍에서 특정 클래스나 구조체의 인스턴스가 배열과 같이 인덱싱될 수 있게 한다. 연산자 오버로딩의 일종이다. (ko)
  • プログラミング言語におけるインデクサ (英: indexer) は、クラスや構造体のインスタンスに配列と同様の添字を指定してアクセスするための構文である。 (ja)
  • Indekser (ang. Indexer) – element języka programowania C#, który pozwala indeksować instancje danej klasy lub struktury tak jak tablice. Indeksery są podobne do właściwości klasy, z tą różnicą że ich metody dostępowe mogą przyjmować parametry. Składnia indeksera wygląda następująco: <modyfikator_dostępu> <zwracany_typ> this [lista_argumentów]{ get { // implementacja } set { // implementacja }} (pl)
  • 索引器(Indexer)是面向对象程序设计中允许一个类或者结构可以如同数组一样被索引(indexed)访问。为类定义一个索引器后,该类的行为就会像数组一样用数组访问运算符([ ])来访问该类的实例。这是一种运算符重载。 C#语言中通过重定义operator[]实现了索引器。Python语言中,类如果定义了__getitem__(self, key)与__setitem__(self, key, value)方法就能实现indexer。 (zh)
rdfs:label
  • Indexer (de)
  • Indexer (programming) (en)
  • 인덱서 (프로그래밍) (ko)
  • インデクサ (ja)
  • Indekser (pl)
  • 索引器 (编程) (zh)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageDisambiguates of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License