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

Inherits:
Node
  • Object
show all
Defined in:
lib/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 Attribute Summary

Attributes inherited from Node

#Data, #Key, #Successor_reference

Instance Method Summary collapse

Methods inherited from Node

#initialize, #key_for, #last?, #next_node

Constructor Details

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

Instance Method Details

#<=>(_other) ⇒ Object



66
67
68
# File 'lib/concurrent/edge/lock_free_linked_set/node.rb', line 66

def <=>(_other)
  -1
end