Class ConcurrentLinkedBag.Node

java.lang.Object
edu.harvard.seas.pl.abcdatalog.util.datastructures.ConcurrentLinkedBag.Node
Enclosing class:
ConcurrentLinkedBag<T>

public class ConcurrentLinkedBag.Node extends Object
A node in the linked list.
  • Method Details

    • getVal

      public T getVal()
      Get the value of this node.
      Returns:
      the value
    • getNext

      public ConcurrentLinkedBag<T>.Node getNext()
      Returns the next node in the linked list, or null if this is the last node.
      Returns:
      the next node, or null