question: public final boolean equals ( Object object ) { if ( object == null ) { return false ; } if ( ! ( object instanceof KnowledgeEdge ) ) { return false ; } KnowledgeEdge pair = ( KnowledgeEdge ) object ; return from . equals ( pair . from ) && to . equals ( pair . to ) ; }
target:  Reteurns true if (from1, to1) == (from2, to2).