jetbrains.buildServer.duplicator
Class DuplicateInfo.DuplicateMetrics

java.lang.Object
  extended by jetbrains.buildServer.duplicator.DuplicateInfo.DuplicateMetrics
Enclosing class:
DuplicateInfo

public static class DuplicateInfo.DuplicateMetrics
extends java.lang.Object

Duplicates metrics which encapsulate hash, cost and density


Constructor Summary
DuplicateInfo.DuplicateMetrics(int hash, int cost)
           
DuplicateInfo.DuplicateMetrics(int hash, int cost, int density)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getCost()
           
 int getDensity()
           
 int getHash()
           
 int hashCode()
           
 void incDensity()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DuplicateInfo.DuplicateMetrics

public DuplicateInfo.DuplicateMetrics(int hash,
                                      int cost)

DuplicateInfo.DuplicateMetrics

public DuplicateInfo.DuplicateMetrics(int hash,
                                      int cost,
                                      int density)
Method Detail

getHash

public int getHash()

getCost

public int getCost()

getDensity

public int getDensity()

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

incDensity

public void incDensity()