1 | static ExactTripleIndex exactTripleIndex() {
|
2 | ret new ExactTripleIndex; |
3 | } |
4 | |
5 | sclass ExactTripleHasher implements Hasher<TripleWeb> {
|
6 | public int hashCode(TripleWeb w) { ret tripleHashCodeByContentsIC(w); }
|
7 | public bool equals(TripleWeb a, TripleWeb b) { ret tripleEqualsByContentsIC(a, b); }
|
8 | } |
9 | |
10 | sclass ExactTripleIndex extends CustomCompactHashSet<TripleWeb> {
|
11 | *() {
|
12 | super(new ExactTripleHasher); |
13 | } |
14 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1013076 |
| Snippet name: | exactTripleIndex (case-insensitive) |
| Eternal ID of this version: | #1013076/3 |
| Text MD5: | 0bc2598c7febbae993a6daada07ed71a |
| Author: | stefan |
| Category: | javax / a.i |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-24 20:20:46 |
| Source code size: | 422 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 654 / 662 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |