fix: fixed Clear() array list method

master
amorozov 2024-09-16 17:16:26 +03:00
parent 4a3e5818a1
commit 0b2540924b
1 changed files with 1 additions and 0 deletions

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 {