DataFaucet 1.0 Beta

datafaucet.system.sql
Class linkedlist

WEB-INF.cftags.component
        extended by datafaucet.system.sql.linkedlist

public class linkedlist
extends WEB-INF.cftags.component

creates a linked-list object -- several of these objects can be chained together to create a sortable memory-resident structure which is passed by reference


Constructor Summary
init([any item=''])
 
Method Summary
 any getItem()
          returns the item for the current list element - may return this if the component is a subclass of linkedlist.cfc
private any getListItem(any item)
          used internally to ensure that an inserted item is a linkedlist.cfc object
 any getNext()
 any getNextCount()
          returns the number of elements in the list from the current element to the tail element
 any getTail()
          returns the last element in the list
 boolean hasNext()
 any insertAfter(any item)
 boolean isItem()
          indicates if the current list element is a populated item or the sentinel object which holds reference to the head of the list
 any length()
          returns the total number of units in the list
 any removeAfter()
 any setItem([any item=''])
          sets the item for the current list element
 any setNext(any item)
          used internally to set the pointer to the next item in the list -- do not use this method
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init([any item=''])

Parameters:
item
Method Detail

getItem

public any getItem()
returns the item for the current list element - may return this if the component is a subclass of linkedlist.cfc


getListItem

private any getListItem(any item)
used internally to ensure that an inserted item is a linkedlist.cfc object

Parameters:
item

getNext

public any getNext()


getNextCount

public any getNextCount()
returns the number of elements in the list from the current element to the tail element


getTail

public any getTail()
returns the last element in the list


hasNext

public boolean hasNext()


insertAfter

public any insertAfter(any item)

Parameters:
item

isItem

public boolean isItem()
indicates if the current list element is a populated item or the sentinel object which holds reference to the head of the list


length

public any length()
returns the total number of units in the list


removeAfter

public any removeAfter()


setItem

public any setItem([any item=''])
sets the item for the current list element

Parameters:
item

setNext

public any setNext(any item)
used internally to set the pointer to the next item in the list -- do not use this method

Parameters:
item

DataFaucet 1.0 Beta