BrightSide Workbench Full Report + Source Code
org.turro.log.LogCount Class Reference

Public Member Functions

 LogCount (String entity, long count)
 
String getEntity ()
 
long getCount ()
 
int hashCode ()
 
boolean equals (Object obj)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 27 of file LogCount.java.

Constructor & Destructor Documentation

◆ LogCount()

org.turro.log.LogCount.LogCount ( String  entity,
long  count 
)

Definition at line 32 of file LogCount.java.

32  {
33  this.entity = entity;
34  this.count = count;
35  }
Here is the caller graph for this function:

Member Function Documentation

◆ equals()

boolean org.turro.log.LogCount.equals ( Object  obj)

Definition at line 53 of file LogCount.java.

53  {
54  if (this == obj) {
55  return true;
56  }
57  if (obj == null) {
58  return false;
59  }
60  if (getClass() != obj.getClass()) {
61  return false;
62  }
63  final LogCount other = (LogCount) obj;
64  return Objects.equals(this.entity, other.entity);
65  }
LogCount(String entity, long count)
Definition: LogCount.java:32
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCount()

long org.turro.log.LogCount.getCount ( )

Definition at line 41 of file LogCount.java.

41  {
42  return count;
43  }

◆ getEntity()

String org.turro.log.LogCount.getEntity ( )

Definition at line 37 of file LogCount.java.

37  {
38  return entity;
39  }

◆ hashCode()

int org.turro.log.LogCount.hashCode ( )

Definition at line 46 of file LogCount.java.

46  {
47  int hash = 7;
48  hash = 53 * hash + Objects.hashCode(this.entity);
49  return hash;
50  }

The documentation for this class was generated from the following file: