lib/geom2d/utils/sorted_linked_list.rb
# Returns the node with the given value, or +nil+ if no such value is found.
Returns the node with the given value, or +nil+ if no such value is found.
Returns the node with the given value or + nil + if no such value is found .
def find_node(value)
        current = @anchor.next_node
        while current != @anchor
          return current if current.value == value
          current = current.next_node
        end
      end
def find_node ( value ) current = @anchor . next_node while current != @anchor return current if current . value == value current = current . next_node end end
Returns the node with the given value, or +nil+ if no such value is found.
Returns the node with the given value or + nil + if no such value is found .
value
<not_specific>