in src/main/java/org/apache/commons/graph/export/GraphMLExporter.java [89:112]
private static <T> String getStringType( Class<T> type )
{
if ( Integer.class == type )
{
return INT;
}
else if ( Long.class == type )
{
return LONG;
}
else if ( Float.class == type )
{
return FLOAT;
}
else if ( Double.class == type )
{
return DOUBLE;
}
else if ( Boolean.class == type )
{
return BOOLEAN;
}
return STRING;
}