Class CheckSum


  • public class CheckSum
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static CheckSum NIL  
    • Method Summary

      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      static CheckSum fromByteBuffer​(java.nio.ByteBuffer buffer)  
      static java.util.Optional<CheckSum> fromFile​(java.lang.String filepath)  
      static CheckSum fromRawCheckSum​(java.nio.ByteBuffer buffer)  
      static CheckSum fromString​(java.lang.String str)  
      int hashCode()  
      java.nio.ByteBuffer rawData()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Method Detail

      • fromRawCheckSum

        public static CheckSum fromRawCheckSum​(java.nio.ByteBuffer buffer)
      • fromByteBuffer

        public static CheckSum fromByteBuffer​(java.nio.ByteBuffer buffer)
      • fromString

        public static CheckSum fromString​(java.lang.String str)
      • fromFile

        public static java.util.Optional<CheckSum> fromFile​(java.lang.String filepath)
      • rawData

        public java.nio.ByteBuffer rawData()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object