- Fixed ArrayList to use nil value of generic type T to prevent compilation problems when using primary data types.