public String toString(){
  return String.format("numberOfElements = %d, sizeOfElement = %d%n",this.numberOfElements,this.sizeOfElement);
}

public String toString ( ) { return String . format ( "numberOfElements = %d, sizeOfElement = %d%n" , this . numberOfElements , this . sizeOfElement ) ; }
a method that returns a string representation of a mxf collection header object
