Java Reference
In-Depth Information
Calling rotate(strings, 2):
list = [Five, Four, Three, Two_1]
Change event data:
cursor = 0
Kind of change: replaced
Affected range: [0, 4]
Added size: 4
Added sublist: [Five, Four, Three, Two_1]
Removed size: 4
Removed: [Three, Two_1, Five, Four]
Calling shuffle(strings):
list = [Three, Four, Two_1, Five]
Change event data:
cursor = 0
Kind of change: replaced
Affected range: [0, 4]
Added size: 4
Added sublist: [Three, Four, Two_1, Five]
Removed size: 4
Removed: [Five, Four, Three, Two_1]
Calling shuffle(strings, new Random(0L)):
list = [Five, Three, Four, Two_1]
Change event data:
cursor = 0
Kind of change: replaced
Affected range: [0, 4]
Added size: 4
Added sublist: [Five, Three, Four, Two_1]
Removed size: 4
Removed: [Three, Four, Two_1, Five]
Calling sort(strings):
list = [Five, Four, Three, Two_1]
Change event data:
cursor = 0
Kind of change: permutated
Affected range: [0, 4]
Permutation: [0->0, 1->2, 2->1, 3->3]
Calling sort(strings, c) with custom comparator:
list = [Two_1, Three, Four, Five]
Change event data:
cursor = 0
Kind of change: permutated
Affected range: [0, 4]
Permutation: [0->3, 1->2, 2->1, 3->0]
Search WWH ::




Custom Search