Last change
on this file since 310 was 310, checked in by Rick van der Zwet, 13 years ago |
Hacking with javascript and various other foo.
|
File size:
309 bytes
|
Rev | Line | |
---|
[310] | 1 | package nl.rickvanderzwet.toos.assignment2;
|
---|
[205] | 2 |
|
---|
[310] | 3 | public class VoterWrapTest extends Voter {
|
---|
| 4 | public getVote_counter = 0;
|
---|
| 5 |
|
---|
| 6 | public Boolean getVote() {
|
---|
| 7 | getVote_counter++;
|
---|
| 8 | return super.getVote();
|
---|
| 9 | }
|
---|
| 10 |
|
---|
| 11 | }
|
---|
| 12 |
|
---|
[205] | 13 | public class Voter {
|
---|
[206] | 14 | public Boolean getVote() {
|
---|
[205] | 15 | return fvote;
|
---|
| 16 | }
|
---|
[310] | 17 |
|
---|
[205] | 18 | public Boolean fvote;
|
---|
| 19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.