Class Simple-Scroll

Provides the fixed-size-scroll interface for a vector of elements.

Part of:

package cl-perec, class fixed-size-scroll

Direct Superclass

fixed-size-scroll

Slot

elementsInitform:#(), Initargs::elements; Accessors:elements-of; Type:vector.
pageInitform:0, Initargs::page; Accessors:page.
page-sizeInitform:10, Initargs::page-size; Accessors:page-size.

Direct Method

element-count
elementsReturn the elements on the current page
page-count

Other Method

first-page!
last-page!
next-page!Should return the current page number or nil if there are no more pages.
previous-page!
revive-scroll!Revives the cache objects of the scroll in the current transaction.
setfpage
to-listConverts the result to a list.
If FLATP is true then the rows are flattened (useful when they con...
to-scrollConverts the result set to a scroll.