Révision 3532
TXM/trunk/org.txm.concordance.core/src/org/txm/concordance/core/functions/Line.java (revision 3532) | ||
---|---|---|
154 | 154 |
return leftCtxAnalysisValues; |
155 | 155 |
} |
156 | 156 |
|
157 |
public boolean equals(Object l) { |
|
158 |
|
|
159 |
if (l instanceof Line) { |
|
160 |
return this.match.equals(((Line)l).getMatch()); |
|
161 |
} |
|
162 |
return super.equals(l); |
|
163 |
} |
|
164 |
|
|
165 |
@Override |
|
166 |
public int hashCode() { |
|
167 |
return this.getMatch().hashCode(); |
|
168 |
} |
|
169 |
|
|
157 | 170 |
/** |
158 | 171 |
* Gets the right ctx analysis property. |
159 | 172 |
* |
Formats disponibles : Unified diff