public boolean isSubsetOf(Object obj){
  if (!(obj instanceof AbstractTagFrameBody)) {
    return false;
  }
  ArrayList<AbstractDataType> superset=((AbstractTagFrameBody)obj).objectList;
  for (  AbstractDataType anObjectList : objectList) {
    if (anObjectList.getValue() != null) {
      if (!superset.contains(anObjectList)) {
        return false;
      }
    }
  }
  return true;
}

public boolean isSubsetOf ( Object obj ) { if ( ! ( obj instanceof AbstractTagFrameBody ) ) { return false ; } ArrayList < AbstractDataType > superset = ( ( AbstractTagFrameBody ) obj ) . objectList ; for ( AbstractDataType anObjectList : objectList ) { if ( anObjectList . getValue ( ) != null ) { if ( ! superset . contains ( anObjectList ) ) { return false ; } } } return true ; }
returns true if this instance and its entire datatype array list is a subset of the argument . this class is a subset if it is the same class as the argument .
