Class SimilarityProvider

  • public final class SimilarityProvider
    extends java.lang.Object
    Wrapper around a Similarity and its name.
    • Constructor Summary

      Constructor Description
      SimilarityProvider​(java.lang.String name, similarity)  
    • Method Summary

      Modifier and Type Method Description
      boolean equals​(java.lang.Object o) get()
      Return the wrapped Similarity.
      int hashCode()  
      java.lang.String name()
      Return the name of this Similarity.
      • Methods inherited from class java.lang.Object

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

      • SimilarityProvider

        public SimilarityProvider​(java.lang.String name,
    • Method Detail

      • name

        public java.lang.String name()
        Return the name of this Similarity.
      • get

        public get()
        Return the wrapped Similarity.
      • equals

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

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