src/main/java/com/mxgraph/view/mxMultiplicity.java
public boolean checkType(mxGraph graph, Object value, String type,
			String attr, String attrValue)
	{
		if (value != null)
		{
			if (value instanceof Element)
			{
				return mxUtils.isNode(value, type, attr, attrValue);
			}
			else
			{
				return value.equals(type);
			}
		}

		return false;
	}
/**
	 * Checks the type of the given value.
	 */
Checks the type of the given value.
Checks the type of the given value .
public boolean checkType(mxGraph graph, Object value, String type,
			String attr, String attrValue)
	{
		if (value != null)
		{
			if (value instanceof Element)
			{
				return mxUtils.isNode(value, type, attr, attrValue);
			}
			else
			{
				return value.equals(type);
			}
		}
		return false;
	}
public boolean checkType ( mxGraph graph , Object value , String type , String attr , String attrValue ) { if ( value != null ) { if ( value instanceof Element ) { return mxUtils . isNode ( value , type , attr , attrValue ) ; } else { return value . equals ( type ) ; } } return false ; }
Checks the type of the given value.
Checks the type of the given value .