Not true, that's a very inefficient way to keep track of the size (it's O(n)). Instead, I'd keep track of every time you add/remove something, and then update a variable containing the size of the...
Type: Posts; User: helloworld922
Not true, that's a very inefficient way to keep track of the size (it's O(n)). Instead, I'd keep track of every time you add/remove something, and then update a variable containing the size of the...
... LispList isn't a standard Java API class. The size method probably doesn't work because who-ever wrote it didn't implement the size method.
Out of curiosity, what is a LispList? As far as I...