Package generic.lsh.vector

# Class LSHCosineVectorAccum.Entry

java.lang.Object
generic.lsh.vector.LSHCosineVectorAccum.Entry

All Implemented Interfaces:
  `Comparable<LSHCosineVectorAccum.Entry>`

Enclosing class:
  LSHCosineVectorAccum

public static class LSHCosineVectorAccum.Entry extends Object implements Comparable<LSHCosineVectorAccum.Entry>

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final int`
  `hash`
  `final double`
  `weight`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Entry(int hash, double weight)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `compareTo(LSHCosineVectorAccum.Entry o)`
  Comparison must be UNSIGNED!!
  `boolean`
  `equals(Object obj)`
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### hash

    public final int hash

  - ### weight

    public final double weight

- ## Constructor Details

  - ### Entry

    public Entry(int hash, double weight)

- ## Method Details

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`

  - ### compareTo

    public int compareTo(LSHCosineVectorAccum.Entry o)
    Comparison must be UNSIGNED!!
    Specified by:
      `compareTo` in interface `Comparable<LSHCosineVectorAccum.Entry>`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`