Class ForEachDiffer

  • public class ForEachDiffer
    extends java.lang.Object
    A diffing utility for ForEach shadow element to do component tree diffing. With this optimization, it aims to update client DOM Tree effortlessly by using diff & patch mechanism. Sometimes or saying worst case, the optimization cannot be done with a few update instructions then it replaces the old component with a new one instead. (i.e. detach and then insert)
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean merge​(java.util.List<java.lang.Object> data)  
      static boolean merge​(Component host, ForEach owner, java.util.List<java.lang.Object> data)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • merge

        public static boolean merge​(Component host,
                                    ForEach owner,
                                    java.util.List<java.lang.Object> data)
      • merge

        public boolean merge​(java.util.List<java.lang.Object> data)