Libraryless. Click here for Pure Java version (2614L/16K).
1 | sclass ChessPieceProfile1 { |
2 | byte[] sideProfile; |
3 | float fillGrade; |
4 | transient L<BWImage> preprocessedImages; |
5 | |
6 | *() {} |
7 | *(byte[] *sideProfile, float *fillGrade) {} |
8 | |
9 | public bool equals(O o) { |
10 | if (o cast ChessPieceProfile1) |
11 | ret fillGrade == o.fillGrade && byteArrayEquals(sideProfile, o.sideProfile); |
12 | false; |
13 | } |
14 | |
15 | public int hashCode() { |
16 | ret _hashCode(fillGrade) + arrayHashCode(sideProfile); |
17 | } |
18 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024746 |
Snippet name: | ChessPieceProfile1 |
Eternal ID of this version: | #1024746/5 |
Text MD5: | 21341a0ef9cbaf0f80c2a399bd534eba |
Transpilation MD5: | 7520793d5ee73fd0894b4f93811a1280 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-26 19:17:05 |
Source code size: | 444 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 264 / 675 |
Version history: | 4 change(s) |
Referenced in: | [show references] |