public boolean contains( Location other )
	{
		if( isSameStrand( other ))
		{
			return ( mStart <= other.mStart && mEnd >= other.mEnd );
		}
		else
		{
			throw new IllegalArgumentException( "Locations are on opposite strands." );
		}
	}
public boolean contains ( Location other ) { if ( isSameStrand ( other ) ) { return ( mStart <= other . mStart && mEnd >= other . mEnd ) ; } else { throw new IllegalArgumentException ( "Locations are on opposite strands." ) ; } }
Check if this location contains the other.

@param other The location to compare.
@return True if other is entirely contained by this location.
@throws IllegalArgumentException Locations are on opposite strands.