protected boolean containsRightNeighbor ( CLIQUEUnit unit , int d ) { final int e = dims . length - 1 ; return checkDimensions ( unit , e ) && bounds [ e << 1 ] == unit . bounds [ ( e << 1 ) + 1 ] ; }
Returns true if this unit is the right neighbor of the given unit .