We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
an ArrayList
Wenn es sich aber bei der übergebenen Liste z.B. um eine ArrayList handelt - können wir uns überhaupt sicher sein?
But what if the delivered list is e.g. an ArrayList - how can we be sure?
Das Beispiel verwendet als konkrete Implementierung eine ArrayList<Event>, eine Liste von Event-Objekten, die intern mit Hilfe eines Arrays realisiert ist.
The example uses an ArrayList<Event>as a concrete implementation, a list of event objects that is implemented internally using an array.
Diese Eigenschaft gibt eine ArrayList einer geraden Zahl von DateTime-Objekten zurück, die in einer chronologischen Reihenfolge sortiert sind.
This property returns an ArrayList of even number DateTime objects, sorted in a chronological order.
Bei Verwendung von LINQ zum Abfragen nicht generischer IEnumerable-Auflistungen wie z.B. ArrayList müssen Sie den Typ der Bereichsvariablen entsprechend dem spezifischen Typ der Objekte in der Auflistung explizit deklarieren.Wenn Sie zum Beispiel eine ArrayList mit Student-Objekten haben, sollte die from-Klausel wie folgt aussehen:arrList...
collections such as ArrayList, you must explicitly declare the type of the range variable to reflect the specific type of the objects in the collection. For example, if you have an ArrayList of Student objects, your from clause should look like this
Anstatt zu sagen: „Wir instanziieren eine ArrayList" würden wir jetzt „Wir instanziieren eine Liste mit Forms" sagen.
Instead of saying "we instantiate an ArrayList", we would now say "we instantiate a List of Form".
Wenn z. B. die Variable myList auf eine ArrayList verweist, wird mit der Syntax myList (myList(3) in Visual Basic) das Element an Indexposition 3 abgerufen.
For example, if the variable myList refers to an ArrayList, the syntax myList (myList(3) in Visual Basic) retrieves the element with the index of 3.
Es gibt jedoch ein Problem, wenn jemand in der Collection etwas anderes als eine Form speichert, denn eine ArrayList kann ja wiegesagt alle Arten von Objekten speichern, nicht nur Forms. Der folgende Code würde also zu einer Katastrophe führen
Now here is the problem: What if someone stored something other than a Form instance into that collection? An ArrayList can store any object, not just forms. So this would be a disaster
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.
No results found for this meaning.
Synonyms and analogies of "eine ArrayList" in German