Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

18
LINES

< > BotCompany Repo | #1024746 // ChessPieceProfile1

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2614L/16K).

sclass ChessPieceProfile1 {
  byte[] sideProfile;
  float fillGrade;
  transient L<BWImage> preprocessedImages;
  
  *() {}
  *(byte[] *sideProfile, float *fillGrade) {}
  
  public bool equals(O o) {
    if (o cast ChessPieceProfile1)
      ret fillGrade == o.fillGrade && byteArrayEquals(sideProfile, o.sideProfile);
    false;
  }
  
  public int hashCode() {
    ret _hashCode(fillGrade) + arrayHashCode(sideProfile);
  }
}

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: 265 / 675
Version history: 4 change(s)
Referenced in: #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)