コード例 #1
0
 public void updateWith(Rankings other) {
   for (Rankable r : other.getRankings()) {
     updateWith(r);
   }
 }
コード例 #2
0
 /**
  * Copy constructor.
  *
  * @param other
  */
 public Rankings(Rankings other) {
   this(other.maxSize());
   updateWith(other);
 }