public final class CollectionItemElementSelector extends ElementSelector
构造器和说明 |
---|
CollectionItemElementSelector(java.lang.Object item)
Default implementation uses EqualsIdentityStrategy.
|
限定符和类型 | 方法和说明 |
---|---|
CollectionItemElementSelector |
copyWithIdentityStrategy(IdentityStrategy identityStrategy) |
boolean |
equals(java.lang.Object o)
Must be implemented in a way so that this element can be distinguished from the other ones.
|
java.lang.Object |
getItem()
已过时。
Low-level API. Don't use in production code. May be removed
in future versions.
|
int |
hashCode()
Make sure to implement this properly.
|
java.lang.String |
toHumanReadableString() |
toString
public CollectionItemElementSelector(java.lang.Object item)
item
- public CollectionItemElementSelector copyWithIdentityStrategy(IdentityStrategy identityStrategy)
@Deprecated public java.lang.Object getItem()
public java.lang.String toHumanReadableString()
toHumanReadableString
在类中 ElementSelector
public boolean equals(java.lang.Object o)
ElementSelector
equals
在类中 ElementSelector
o
- The object to check equality against.true
is the given object equals this one, otherwise false
.public int hashCode()
ElementSelector
0
.hashCode
在类中 ElementSelector