/** * Check if the link is an incoming link. * * @return <code>true</code> if the link is incoming. */ public boolean isIncoming() { return (this == COVERED_SHALLOW) || isBadIncoming(); }
/** * Check if the link is an incoming link. * * @return <code>true</code> if the link is incoming. */ public boolean isIncoming() { return (this == COVERED_SHALLOW) || isBadIncoming(); }
/** * Count all bad incoming links. * * @return number of incoming links that are bad. */ public int countIncomingBadLinks() { return countLinksWithPredicate(entry -> entry.getKey().isBadIncoming()); }
/** * Count all bad incoming links. * * @return number of incoming links that are bad. */ public int countIncomingBadLinks() { return countLinksWithPredicate(entry -> entry.getKey().isBadIncoming()); }