Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

constant-time performance Collection

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
What does it mean?
I found it for some classes
Thanks in advance
 
Leandro Oliveira
Ranch Hand
Posts: 298
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess it means that many operations with some classes (in the java.util, this classes have to do with collections) state their performance, some spend constant time in searching, others, this time increases with the size of the collection!!!
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do a search on Google for "Big O notation" -- constant time is part of that -- average / best / worse case for how long it takes an algorithm to do its thing (searching, sorting, etc)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic