- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 29 of file Interest.java.
◆ Interest()
◆ equals()
boolean org.turro.interest.Interest.equals |
( |
Object |
obj | ) |
|
Definition at line 70 of file Interest.java.
77 if (getClass() != obj.getClass()) {
81 if (this.reason != other.reason) {
84 return Objects.equals(this.entity.
getPath(), other.entity.getPath());
Interest(ParticipationReason reason, IElephantEntity entity, boolean reversed)
◆ getEntity()
◆ getLabel()
String org.turro.interest.Interest.getLabel |
( |
| ) |
|
Definition at line 53 of file Interest.java.
54 return Optional.ofNullable(entity)
55 .map(e -> e.getLabel())
◆ getReason()
◆ hashCode()
int org.turro.interest.Interest.hashCode |
( |
| ) |
|
Definition at line 62 of file Interest.java.
64 hash = 71 * hash + Objects.hashCode(this.reason);
65 hash = 71 * hash + Objects.hashCode(this.entity.
getPath());
◆ isReversed()
boolean org.turro.interest.Interest.isReversed |
( |
| ) |
|
The documentation for this class was generated from the following file: