Ejemplo n.º 1
0
 /** {@inheritDoc} */
 @Override
 public Mean copy() {
   Mean result = new Mean();
   // No try-catch or advertised exception because args are guaranteed non-null
   copy(this, result);
   return result;
 }
Ejemplo n.º 2
0
 /**
  * Copy constructor, creates a new {@code Mean} identical to the {@code original}
  *
  * @param original the {@code Mean} instance to copy
  * @throws NullArgumentException if original is null
  */
 public Mean(Mean original) throws NullArgumentException {
   copy(original, this);
 }