public class AndCondition extends MultipleCondition
Condition.and(Condition)
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
|
int |
hashCode()
Generate a hash code from this
Segment . |
void |
visit(Visitor visitor)
|
getConditions, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
and, not, or
public int hashCode()
Segment
Segment
.
Hashcode typically derives from the Segment.toString()
representation so two Segment
s yield the same
Segment.hashCode()
if their Segment.toString()
representation matches.public boolean equals(Object obj)
Segment
Segment
is equal to another Segment
.
Equality is typically given if the Segment.toString()
representation matches.Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.