org.jboss.dna.connector.federation.contribution
Class ContributionStatistics.Data

java.lang.Object
  extended by org.jboss.dna.connector.federation.contribution.ContributionStatistics.Data
All Implemented Interfaces:
Comparable<ContributionStatistics.Data>
Enclosing class:
ContributionStatistics

public static final class ContributionStatistics.Data
extends Object
implements Comparable<ContributionStatistics.Data>


Method Summary
 int compareTo(ContributionStatistics.Data that)
           This orders the values in the opposite order, so that those with larger numbers of instances appear first.
 boolean equals(Object obj)
          
 int getChildrenCount()
           
 long getInstanceCount()
           
 int getPropertyCount()
           
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getChildrenCount

public int getChildrenCount()
Returns:
childrenCount

getPropertyCount

public int getPropertyCount()
Returns:
propertyCount

getInstanceCount

public long getInstanceCount()
Returns:
instanceCount

compareTo

public int compareTo(ContributionStatistics.Data that)
This orders the values in the opposite order, so that those with larger numbers of instances appear first.

Specified by:
compareTo in interface Comparable<ContributionStatistics.Data>
See Also:
Comparable.compareTo(java.lang.Object)

hashCode

public int hashCode()

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.