Class: Concurrent::Edge::LockFreeLinkedSet::Head

Inherits:
Node
  • Object
show all
Defined in:
lib/concurrent-ruby-edge/concurrent/edge/lock_free_linked_set/node.rb

Overview

Internal sentinel node for the Head of the set. Head is always smaller than any other node.

Instance Method Summary collapse

Methods inherited from Node

#data, #initialize, #key, #key_for, #last?, #next_node, #successor_reference

Constructor Details

This class inherits a constructor from Concurrent::Edge::LockFreeLinkedSet::Node

Instance Method Details

#<=>(_other) ⇒ Object



75
76
77
# File 'lib/concurrent-ruby-edge/concurrent/edge/lock_free_linked_set/node.rb', line 75

def <=>(_other)
  -1
end