Class ChainImpl<O>

java.lang.Object
net.sourceforge.plantuml.bpm.ChainImpl<O>
All Implemented Interfaces:
java.util.Comparator<O>, Chain<O>

public class ChainImpl<O> extends java.lang.Object implements Chain<O>
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChainImpl(O root)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
    compare(O a, O b)
     
    boolean
    contains(O data)
     
    navigator(O data)
     
    boolean
    remove(O data)
     
    java.util.List<O>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Comparator

    equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
  • Constructor Details

    • ChainImpl

      public ChainImpl(O root)
  • Method Details

    • remove

      public boolean remove(O data)
      Specified by:
      remove in interface Chain<O>
    • cloneMe

      public ChainImpl<O> cloneMe()
    • compare

      public int compare(O a, O b)
      Specified by:
      compare in interface java.util.Comparator<O>
    • toList

      public java.util.List<O> toList()
      Specified by:
      toList in interface Chain<O>
    • contains

      public boolean contains(O data)
      Specified by:
      contains in interface Chain<O>