Class stl_HashFunction

java.lang.Object
com.jackmeng.stl.stl_HashFunction

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

    Fields
    Modifier and Type Field Description
    private int seed  
    private int size  
  • Constructor Summary

    Constructors
    Constructor Description
    stl_HashFunction​(int size)  
  • Method Summary

    Modifier and Type Method Description
    int hash​(java.lang.String value)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • size

      private final int size
    • seed

      private final int seed
  • Constructor Details

    • stl_HashFunction

      public stl_HashFunction​(int size)
  • Method Details

    • hash

      public int hash​(java.lang.String value)