ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
mx.utils 

LinkedList  - AS3 Flex

Pakietmx.utils
Klasapublic class LinkedList
DziedziczenieLinkedList Inheritance Object

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4.5
Wersje środowiska wykonawczego: Flash Player 10, AIR 1.5

Provides a generic doubly linked list implementation.



Właściwości publiczne
 WłaściwośćZdefiniowane przez
 Inheritedconstructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu.
Object
  head : LinkedListNode
[tylko do odczytu] Node representing head of the list.
LinkedList
  length : Number
[tylko do odczytu] Returns length of list.
LinkedList
  tail : LinkedListNode
[tylko do odczytu] Node representing tail of the list.
LinkedList
Metody publiczne
 MetodaZdefiniowane przez
  
Constructor.
LinkedList
  
Searches through all nodes for the given value.
LinkedList
 Inherited
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość.
Object
  
Inserts new node after a previously existing node.
LinkedList
  
Inserts new node before a previously existing node.
LinkedList
 Inherited
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr.
Object
  
Removes the node at the tail of the list.
LinkedList
 Inherited
Wskazuje, czy określona właściwość istnieje i jest przeliczalna.
Object
  
Push a new node to the tail of list.
LinkedList
  
Searches through all nodes for the given value and removes it from the list if found.
LinkedList
 Inherited
Ustawia dostępność właściwości dynamicznej używanej w pętlach.
Object
  
Removes the node at the head of the list.
LinkedList
 Inherited
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych.
Object
 Inherited
Zwraca ciąg reprezentujący określony obiekt.
Object
  
Push a new node to the head of list.
LinkedList
 Inherited
Zwraca pierwotną wartość dla określonego obiektu.
Object
Szczegół właściwości

head

właściwość
head:LinkedListNode  [tylko do odczytu]

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4.5
Wersje środowiska wykonawczego: Flash Player 10, AIR 1.5

Node representing head of the list.



Implementacja
    public function get head():LinkedListNode

length

właściwość 
length:Number  [tylko do odczytu]

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4.5
Wersje środowiska wykonawczego: Flash Player 10, AIR 1.5

Returns length of list.



Implementacja
    public function get length():Number

tail

właściwość 
tail:LinkedListNode  [tylko do odczytu]

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4.5
Wersje środowiska wykonawczego: Flash Player 10, AIR 1.5

Node representing tail of the list.



Implementacja
    public function get tail():LinkedListNode
Konstruktor Szczegół

LinkedList

()Konstruktor
public function LinkedList()

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4.5
Wersje środowiska wykonawczego: Flash Player 10, AIR 1.5

Constructor.

Szczegół metody

find

()metoda
public function find(value:*):LinkedListNode

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4.5
Wersje środowiska wykonawczego: Flash Player 10, AIR 1.5

Searches through all nodes for the given value.

Parametry

value:* — The value to find.

Zwraca
LinkedListNode — The node location.

insertAfter

()metoda 
public function insertAfter(value:*, prev:LinkedListNode):LinkedListNode

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4.5
Wersje środowiska wykonawczego: Flash Player 10, AIR 1.5

Inserts new node after a previously existing node.

Parametry

value:* — Value to insert. If the value is not a LinkedListNode one will be created.
 
prev:LinkedListNode — The previous node to insert relative to.

Zwraca
LinkedListNode — The new node.

insertBefore

()metoda 
public function insertBefore(value:*, next:LinkedListNode):LinkedListNode

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4.5
Wersje środowiska wykonawczego: Flash Player 10, AIR 1.5

Inserts new node before a previously existing node.

Parametry

value:* — Value to insert. If the value is not a LinkedListNode one will be created.
 
next:LinkedListNode — The node to insert relative to.

Zwraca
LinkedListNode — The new node.

pop

()metoda 
public function pop():LinkedListNode

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4.5
Wersje środowiska wykonawczego: Flash Player 10, AIR 1.5

Removes the node at the tail of the list.

Zwraca
LinkedListNode — The removed node.

push

()metoda 
public function push(value:*):LinkedListNode

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4.5
Wersje środowiska wykonawczego: Flash Player 10, AIR 1.5

Push a new node to the tail of list.

Parametry

value:* — The value to append.

Zwraca
LinkedListNode — The newly appended node.

remove

()metoda 
public function remove(value:*):LinkedListNode

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4.5
Wersje środowiska wykonawczego: Flash Player 10, AIR 1.5

Searches through all nodes for the given value and removes it from the list if found.

Parametry

value:* — The value to find and remove.

Zwraca
LinkedListNode — The removed node, null otherwise.

shift

()metoda 
public function shift():LinkedListNode

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4.5
Wersje środowiska wykonawczego: Flash Player 10, AIR 1.5

Removes the node at the head of the list.

Zwraca
LinkedListNode — The removed node.

unshift

()metoda 
public function unshift(value:*):LinkedListNode

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 4.5
Wersje środowiska wykonawczego: Flash Player 10, AIR 1.5

Push a new node to the head of list.

Parametry

value:* — The value to append.

Zwraca
LinkedListNode — The newly appended node.




[ X ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.