Jetpack/Collections: Difference between revisions

m
(→‎Operators: finished the rename)
Line 194: Line 194:
   * Returns a collection that contains all values from coll1 and coll2.
   * Returns a collection that contains all values from coll1 and coll2.
   * If the same item is in both coll1 and coll2, it will be added twice.
   * If the same item is in both coll1 and coll2, it will be added twice.
   * The result is simply coll2 is simply appended to coll1.
   * The result is simply coll2 appended to coll1.
   *
   *
   * @param coll1 {Collection}
   * @param coll1 {Collection}
Line 228: Line 228:
   * operator xor
   * operator xor
   * Returns a collection that contains all values that are contained
   * Returns a collection that contains all values that are contained
   * only in coll1 or coll2, but *not in both*.
   * only in coll1 or coll2, but not in both.
   *
   *
   * [http://en.wikipedia.org/wiki/Symmetric_difference Symmetric difference]
   * [http://en.wikipedia.org/wiki/Symmetric_difference Symmetric difference]
Confirmed users
596

edits