Interface WriteOrderDeque.WriteOrder<T extends WriteOrderDeque.WriteOrder<T>>
- All Known Implementing Classes:
FD, FDA, FDAMS, FDAMW, FDAR, FDARMS, FDARMW, FDAW, FDAWMS, FDAWMW, FDAWR, FDAWRMS, FDAWRMW, FDMS, FDMW, FDR, FDRMS, FDRMW, FDW, FDWMS, FDWMW, FDWR, FDWRMS, FDWRMW, FS, FSA, FSAMS, FSAMW, FSAR, FSARMS, FSARMW, FSAW, FSAWMS, FSAWMW, FSAWR, FSAWRMS, FSAWRMW, FSMS, FSMW, FSR, FSRMS, FSRMW, FSW, FSWMS, FSWMW, FSWR, FSWRMS, FSWRMW, FW, FWA, FWAMS, FWAMW, FWAR, FWARMS, FWARMW, FWAW, FWAWMS, FWAWMW, FWAWR, FWAWRMS, FWAWRMW, FWMS, FWMW, FWR, FWRMS, FWRMW, FWW, FWWMS, FWWMW, FWWR, FWWRMS, FWWRMW, Node, PD, PDA, PDAMS, PDAMW, PDAR, PDARMS, PDARMW, PDAW, PDAWMS, PDAWMW, PDAWR, PDAWRMS, PDAWRMW, PDMS, PDMW, PDR, PDRMS, PDRMW, PDW, PDWMS, PDWMW, PDWR, PDWRMS, PDWRMW, PS, PSA, PSAMS, PSAMW, PSAR, PSARMS, PSARMW, PSAW, PSAWMS, PSAWMW, PSAWR, PSAWRMS, PSAWRMW, PSMS, PSMW, PSR, PSRMS, PSRMW, PSW, PSWMS, PSWMW, PSWR, PSWRMS, PSWRMW, PW, PWA, PWAMS, PWAMW, PWAR, PWARMS, PWARMW, PWAW, PWAWMS, PWAWMW, PWAWR, PWAWRMS, PWAWRMW, PWMS, PWMW, PWR, PWRMS, PWRMW, PWW, PWWMS, PWWMW, PWWR, PWWRMS, PWWRMW, TimerWheel.Sentinel
- Enclosing class:
WriteOrderDeque<E extends WriteOrderDeque.WriteOrder<E>>
static interface WriteOrderDeque.WriteOrder<T extends WriteOrderDeque.WriteOrder<T>>
An element that is linked on the
Deque.-
Method Summary
Modifier and TypeMethodDescription@Nullable TRetrieves the next element or null if either the element is unlinked or the last element on the deque.@Nullable TRetrieves the previous element or null if either the element is unlinked or the first element on the deque.voidsetNextInWriteOrder(@Nullable T next) Sets the next element or null if there is no link.voidsetPreviousInWriteOrder(@Nullable T prev) Sets the previous element or null if there is no link.
-
Method Details
-
getPreviousInWriteOrder
@Nullable T getPreviousInWriteOrder()Retrieves the previous element or null if either the element is unlinked or the first element on the deque. -
setPreviousInWriteOrder
Sets the previous element or null if there is no link. -
getNextInWriteOrder
@Nullable T getNextInWriteOrder()Retrieves the next element or null if either the element is unlinked or the last element on the deque. -
setNextInWriteOrder
Sets the next element or null if there is no link.
-