This mapping has 1 multi-map group: several pairings are equally correct there. The code view shows one arbitrary valid pairing, not the only one.

Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–202 unchanged (202 lines)
203 * Returns an iterator over the unmodifiable list of chromosomes.
204 * <p>Any call to {@link Iterator#remove()} will result in a {@link UnsupportedOperationException}.</p>
205 *
206 * @return chromosome iterator
207 */
208 public Iterator<Chromosome> iterator() {
209 return chromosomes.iterator();
210 }
211}
212

After

…lines 1–202 unchanged (202 lines)
203 * Returns an iterator over the unmodifiable list of chromosomes.
204 * <p>Any call to {@link Iterator#remove()} will result in a {@link UnsupportedOperationException}.</p>
205 *
206 * @return chromosome iterator
207 */
208 public Iterator<Chromosome> iterator() {
209 return getChromosomes().iterator();
210 }
211}
212

Before

program
block_comment "/*\n * Licensed to the Apache Software Foundation (ASF) under"...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "genetics"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "ArrayList"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Collection"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Collections"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Iterator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "List"
; ";"
import_declaration (+22 nodes collapsed)
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "exception"
. "."
identifier "NotPositiveException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "exception"
. "."
identifier "NullArgumentException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "exception"
. "."
identifier "NumberIsTooLargeException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "exception"
. "."
identifier "NumberIsTooSmallException"
; ";"
block_comment "/**\n * Population of chromosomes represented by a {@link Lis"...
class_declaration
modifiers
public "public"
abstract "abstract"
class "class"
identifier "ListPopulation"
super_interfaces
implements "implements"
type_list
type_identifier "Population"
class_body
{ "{"
block_comment "/** List of chromosomes */"
field_declaration
modifiers
private "private"
generic_type
type_identifier "List"
type_arguments
< "<"
type_identifier "Chromosome"
> ">"
variable_declarator
identifier "chromosomes"
; ";"
block_comment "/** maximal size of the population */"
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "populationLimit"
; ";"
block_comment "/**\n * Creates a new ListPopulation instance and initial"...
constructor_declaration (+35 nodes collapsed)
block_comment "/**\n * Creates a new ListPopulation instance.\n * <p>"...
constructor_declaration (+160 nodes collapsed)
block_comment "/**\n * Sets the list of chromosomes.\n * <p>Note: thi"...
method_declaration (+110 nodes collapsed)
block_comment "/**\n * Add a {@link Collection} of chromosomes to this {"...
method_declaration (+86 nodes collapsed)
block_comment "/**\n * Returns an unmodifiable list of the chromosomes i"...
method_declaration (+27 nodes collapsed)
block_comment "/**\n * Access the list of chromosomes.\n * @return th"...
method_declaration
modifiers
protected "protected"
generic_type
type_identifier "List"
type_arguments
< "<"
type_identifier "Chromosome"
> ">"
identifier "getChromosomeList"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "chromosomes"
; ";"
} "}"
block_comment "/**\n * Add the given chromosome to the population.\n "...
method_declaration (+72 nodes collapsed)
block_comment "/**\n * Access the fittest chromosome in this population."...
method_declaration (+73 nodes collapsed)
block_comment "/**\n * Access the maximum population size.\n * @retur"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getPopulationLimit"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "populationLimit"
; ";"
} "}"
block_comment "/**\n * Sets the maximal population size.\n * @param p"...
method_declaration (+91 nodes collapsed)
block_comment "/**\n * Access the current population size.\n * @retur"...
method_declaration (+25 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n */"
method_declaration (+27 nodes collapsed)
block_comment "/**\n * Returns an iterator over the unmodifiable list of"...
method_declaration
modifiers
public "public"
generic_type
type_identifier "Iterator"
type_arguments
< "<"
type_identifier "Chromosome"
> ">"
identifier "iterator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
method_invocation any 1:2
identifier "chromosomes"
. "."
identifier "iterator"
argument_list
( "("
) ")"
; ";"
} "}"
} "}"

After

program
block_comment "/*\n * Licensed to the Apache Software Foundation (ASF) under"...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "genetics"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "ArrayList"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Collection"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Collections"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "Iterator"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "util"
. "."
identifier "List"
; ";"
import_declaration (+22 nodes collapsed)
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "exception"
. "."
identifier "NotPositiveException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "exception"
. "."
identifier "NullArgumentException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "exception"
. "."
identifier "NumberIsTooLargeException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math3"
. "."
identifier "exception"
. "."
identifier "NumberIsTooSmallException"
; ";"
block_comment "/**\n * Population of chromosomes represented by a {@link Lis"...
class_declaration
modifiers
public "public"
abstract "abstract"
class "class"
identifier "ListPopulation"
super_interfaces
implements "implements"
type_list
type_identifier "Population"
class_body
{ "{"
block_comment "/** List of chromosomes */"
field_declaration
modifiers
private "private"
generic_type
type_identifier "List"
type_arguments
< "<"
type_identifier "Chromosome"
> ">"
variable_declarator
identifier "chromosomes"
; ";"
block_comment "/** maximal size of the population */"
field_declaration
modifiers
private "private"
integral_type
int "int"
variable_declarator
identifier "populationLimit"
; ";"
block_comment "/**\n * Creates a new ListPopulation instance and initial"...
constructor_declaration (+35 nodes collapsed)
block_comment "/**\n * Creates a new ListPopulation instance.\n * <p>"...
constructor_declaration (+160 nodes collapsed)
block_comment "/**\n * Sets the list of chromosomes.\n * <p>Note: thi"...
method_declaration (+110 nodes collapsed)
block_comment "/**\n * Add a {@link Collection} of chromosomes to this {"...
method_declaration (+86 nodes collapsed)
block_comment "/**\n * Returns an unmodifiable list of the chromosomes i"...
method_declaration (+27 nodes collapsed)
block_comment "/**\n * Access the list of chromosomes.\n * @return th"...
method_declaration
modifiers
protected "protected"
generic_type
type_identifier "List"
type_arguments
< "<"
type_identifier "Chromosome"
> ">"
identifier "getChromosomeList"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "chromosomes"
; ";"
} "}"
block_comment "/**\n * Add the given chromosome to the population.\n "...
method_declaration (+72 nodes collapsed)
block_comment "/**\n * Access the fittest chromosome in this population."...
method_declaration (+73 nodes collapsed)
block_comment "/**\n * Access the maximum population size.\n * @retur"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getPopulationLimit"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
field_access
this "this"
. "."
identifier "populationLimit"
; ";"
} "}"
block_comment "/**\n * Sets the maximal population size.\n * @param p"...
method_declaration (+91 nodes collapsed)
block_comment "/**\n * Access the current population size.\n * @retur"...
method_declaration (+25 nodes collapsed)
block_comment "/**\n * {@inheritDoc}\n */"
method_declaration (+27 nodes collapsed)
block_comment "/**\n * Returns an iterator over the unmodifiable list of"...
method_declaration
modifiers
public "public"
generic_type
type_identifier "Iterator"
type_arguments
< "<"
type_identifier "Chromosome"
> ">"
identifier "iterator"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
method_invocation any 1:2
method_invocation any 1:2
identifier "getChromosomes"
argument_list
( "("
) ")"
. "."
identifier "iterator"
argument_list
( "("
) ")"
; ";"
} "}"
} "}"