repo.or.cz
/
aco.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
move abstract method definitions to abstract ASPheromoneStrategy class
[aco.git]
/
protoas
/
CoordinatePair.java
blob
d55c5723f38958c606ef20ececdba6da3097be00
1
package
protoas
;
2
3
class
CoordinatePair
<
F
,
S
> {
4
private final
F first
;
5
private final
S second
;
6
7
CoordinatePair
(
F first
,
S second
) {
8
this
.
first
=
first
;
9
this
.
second
=
second
;
10
}
11
12
public
F
getFirst
() {
13
return this
.
first
;
14
}
15
16
public
S
getSecond
() {
17
return this
.
second
;
18
}
19
20
}