Produced by Araxis Merge on 12/21/2017 6:15:14 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Genisis_2.0_v7_bld7.zip\TS\Service\testing\cli-test-scripts\src\main\java\gov\va\genisis2 | RandomAccessList.java | Thu Dec 14 19:57:07 2017 UTC |
| 2 | Genisis_2.0_v7_bld7.zip\TS\Service\testing\cli-test-scripts\src\main\java\gov\va\genisis2 | RandomAccessList.java | Thu Dec 21 22:19:03 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 48 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | package go v.va.genis is2; | |
| 2 | ||
| 3 | import jav a.util.Lis t; | |
| 4 | ||
| 5 | /** | |
| 6 | * | |
| 7 | * @author PII | |
| 8 | * | |
| 9 | */ | |
| 10 | public cla ss RandomA ccessList< T> { | |
| 11 | ||
| 12 | privat e final Li st<T> list ; | |
| 13 | ||
| 14 | public RandomAcc essList(Li st<T> list ) { | |
| 15 | th is.list = list; | |
| 16 | } | |
| 17 | ||
| 18 | public T pick() { | |
| 19 | re turn list. get(pickRa ndomNumber (list.size ())); | |
| 20 | } | |
| 21 | ||
| 22 | privat e int pick RandomNumb er(int max ) { | |
| 23 | re turn (int) (Math.ran dom() * ma x); | |
| 24 | } | |
| 25 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.