system/src/sc/lang/html/Element.java
public boolean anyChangedRepeatTags() {
      Object repeatVal = getCurrentRepeatVal();
      int repeatValSz = repeatVal == null ? 0 : DynUtil.getArrayLength(repeatVal);
      int repeatTagsSz = repeatTags == null ? 0 : repeatTags.size();

      if (repeatValSz != repeatTagsSz)
         return true;

      for (int i = 0; i < repeatValSz; i++) {
         Object newElem = DynUtil.getArrayElement(repeatVal, i);
         Element oldTag = repeatTags.get(i);
         Object oldElem = oldTag.repeatVar;
         // Note: not checking the equals method here.  We really only care if there were new repeatVal elements added or
         // removed because those are the situations where we need to refresh the repeatTags list.
         if (newElem != oldElem)
            return true;
      }
      return false;
   }
/** Returns true if any values have been removed, added or replaced in the repeat property for this tag.  */
Returns true if any values have been removed, added or replaced in the repeat property for this tag.
Returns true if any values have been removed added or replaced in the repeat property for this tag .
public boolean anyChangedRepeatTags() {
      Object repeatVal = getCurrentRepeatVal();
      int repeatValSz = repeatVal == null ? 0 : DynUtil.getArrayLength(repeatVal);
      int repeatTagsSz = repeatTags == null ? 0 : repeatTags.size();
      if (repeatValSz != repeatTagsSz)
         return true;
      for (int i = 0; i < repeatValSz; i++) {
         Object newElem = DynUtil.getArrayElement(repeatVal, i);
         Element oldTag = repeatTags.get(i);
         Object oldElem = oldTag.repeatVar;
         if (newElem != oldElem)
            return true;
      }
      return false;
   }
public boolean anyChangedRepeatTags ( ) { Object repeatVal = getCurrentRepeatVal ( ) ; int repeatValSz = repeatVal == null ? 0 : DynUtil . getArrayLength ( repeatVal ) ; int repeatTagsSz = repeatTags == null ? 0 : repeatTags . size ( ) ; if ( repeatValSz != repeatTagsSz ) return true ; for ( int i = 0 ; i < repeatValSz ; i ++ ) { Object newElem = DynUtil . getArrayElement ( repeatVal , i ) ; Element oldTag = repeatTags . get ( i ) ; Object oldElem = oldTag . repeatVar ; if ( newElem != oldElem ) return true ; } return false ; }
Returns true if any values have been removed, added or replaced in the repeat property for this tag.
Returns true if any values have been removed added or replaced in the repeat property for this tag .
// Note: not checking the equals method here.  We really only care if there were new repeatVal elements added or // removed because those are the situations where we need to refresh the repeatTags list.