Example #1
0
 @Override
 protected void copy(Format f) {
   super.copy(f);
   final GIFFormat oCast = (GIFFormat) f; // it has to be a GIFFormat, or
   // ClassCastException will be
   // thrown.
 }