本文整理汇总了Java中org.apache.tinkerpop.gremlin.structure.util.ElementHelper.areEqual方法的典型用法代码示例。如果您正苦于以下问题:Java ElementHelper.areEqual方法的具体用法?Java ElementHelper.areEqual怎么用?Java ElementHelper.areEqual使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.tinkerpop.gremlin.structure.util.ElementHelper
的用法示例。
在下文中一共展示了ElementHelper.areEqual方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: equals
import org.apache.tinkerpop.gremlin.structure.util.ElementHelper; //导入方法依赖的package包/类
@Override
public boolean equals(final Object object) {
return ElementHelper.areEqual(this, object);
}
示例2: equals
import org.apache.tinkerpop.gremlin.structure.util.ElementHelper; //导入方法依赖的package包/类
@SuppressWarnings("EqualsWhichDoesntCheckParameterClass")
@Override
public boolean equals(final Object object) {
return ElementHelper.areEqual(this, object);
}
示例3: equals
import org.apache.tinkerpop.gremlin.structure.util.ElementHelper; //导入方法依赖的package包/类
@Override
public boolean equals(Object object) {
return ElementHelper.areEqual(this, object);
}
示例4: equals
import org.apache.tinkerpop.gremlin.structure.util.ElementHelper; //导入方法依赖的package包/类
/**
* Delegates to {@link ElementHelper#areEqual(Element, Object)}
*/
@Override
public boolean equals(final Object object) {
return ElementHelper.areEqual(this, object);
}
示例5: equals
import org.apache.tinkerpop.gremlin.structure.util.ElementHelper; //导入方法依赖的package包/类
@Override
public boolean equals(final Object other) {
return other instanceof EdgeValueWritable && ElementHelper.areEqual(this.edge, ((EdgeValueWritable) other).getEdge());
}
示例6: equals
import org.apache.tinkerpop.gremlin.structure.util.ElementHelper; //导入方法依赖的package包/类
@Override
public boolean equals(final Object other) {
return other instanceof VertexValueWritable && ElementHelper.areEqual(this.vertex, ((VertexValueWritable) other).getVertex());
}
示例7: equals
import org.apache.tinkerpop.gremlin.structure.util.ElementHelper; //导入方法依赖的package包/类
@Override
public boolean equals(final Object other) {
return ElementHelper.areEqual(this, other);
}
示例8: equals
import org.apache.tinkerpop.gremlin.structure.util.ElementHelper; //导入方法依赖的package包/类
@Override
public boolean equals(final Object object) {
return object instanceof Property && ElementHelper.areEqual(this, object);
}
示例9: equals
import org.apache.tinkerpop.gremlin.structure.util.ElementHelper; //导入方法依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
public boolean equals(final Object object) {
// ElementHelper.areEqual is implemented on this.id(), handle the case of generated ids
return object instanceof Vertex && (id != null ? ElementHelper.areEqual(this, object) : super.equals(object));
}