I have a utility class called Util. Within it I have a MatrixUtil static inner class (among others). Where are inner classes located by convention?
Should MatrixUtil go after Util fields but before Util methods? I was unable to find a java convention on this. Perhaps I missed it in the API...
Anyways, this is the structure I am talking about.
public class Util
{
public static final Vector3f myField;
public static class MatrixUtil
{
public static void myMatrixUtilMethod()
{
return;
}
}
public static float myUtilMethod()
{
return;
}
}
Code works either way but I'd like to know the proper convention for this. Thanks.