()
| 35 | } |
| 36 | |
| 37 | clone() { |
| 38 | const ret = new IndividualHatMap(this.graph); |
| 39 | |
| 40 | this.getEntries().forEach(([key, token]) => { |
| 41 | ret.addTokenByKey(key, { ...token }); |
| 42 | }); |
| 43 | |
| 44 | return ret; |
| 45 | } |
| 46 | |
| 47 | getEntries() { |
| 48 | this.checkExpired(); |
no test coverage detected