fix: fixed Clear() array list method

This commit is contained in:
amorozov 2024-09-16 17:16:26 +03:00
parent 4a3e5818a1
commit 0b2540924b

View File

@ -170,6 +170,7 @@ func (self *ArrayList[T]) String() string {
func (self *ArrayList[T]) Clear() {
self.content = self.content[:0]
self.size = 0
}
func (self *ArrayList[T]) GetLast() T {