answersLogoWhite

0

I am assuming that you are talking about the java.util package.

java.util is a non-extension package that shipped from Java 1. It has many utilities classes that are frequently used in Java programming. For example, the Collections framework is in it, along with all of the legacy collection classes (viz. Hashtable and Vector). It has the event model, date and time facilities, and il8n (internationalization; it's a long word, hence the abbreviation). It also has some miscellaneous utility classes, such as Properties, Observer/Observable, Random, Scanner, Enumeration/Iterator, and others.

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Engineering

How do you say tool in french?

The French for "tool" is un util.


What is the difference between a treeset and hashset in Java?

The difference between these two sets is simply the order/algorithm in which items are added to/accessed/removed from the map. The circumstances determine which particular implementation is better/faster. A treeSet organizes data in a tree through use of Comparator (natural ordering) and the hashSet organizes data in a hash table (using a hash function). See the Java API for more info: http://www.j2ee.me/javase/6/docs/api/java/util/TreeSet.html http://java.sun.com/javase/6/docs/api/java/util/HashSet.html The previous answer (unless I'm mistaken) is pretty much completely wrong... ----------- Previous Answer --------- In a treeset data are placed in order... while in a hashset data is randomly placed... A treeset is more efficient in case of search element. As hashSet use the hash function to store the values, it does not maintain the order of elements, but TreeSet maintains the natural odering of elements (you don't need to sort it).


Does Visual Java plus plus and Java Builder is different from the Java language?

Yes!Visual Java plus plus and Java Builder is different from the Java language?


What are the different java technologies?

There are several types of Java technology. Some examples of Java software are Java ME, Java EE, Java SE, and Java Card. Java made the JAVA development kit for those that develop in Java. There is also Java Virtual machine and some class libraries. Java is also famous for its languages like Clojure, Beanshell, Groovy, Gosu, Rhino, Kotlin, JRuby, Scala, and Jython.


Small Java-based programs are called?

Java applets

Related Questions

What does the acronym UTIL stand for?

There are a few interpretations for the commonly used acronym UTIL. One of Such interpretations is mostly used in programming languages such as Java and stands for "utility".


Explanation of import javautilDate?

The import keyword in Java is used to tell the Java compiler where to find different classes and packages.java.util.Date is the location of the Date class: Date is a member of the util package, which is a member of the java package.


Which acquisition plan component should be deferred util a purchases request is received?

acquisition plan component should be deferred util a purchases request is received?


How do you say very useful in spanish?

muy util


How do you say tool in french?

The French for "tool" is un util.


What country did general franco ruled util 1975?

Spain


How will the future glass camera work?

it will be incredibly civil and util


How do you say helpful in Spanish?

De ayuda. util servicial provechoso


Why can't i go to wooz world?

You can refresh it many times util it comes on


How do you get mindless behavior to go to your school?

call them and beg them to death util they say ok


What is the difference between a treeset and hashset in Java?

The difference between these two sets is simply the order/algorithm in which items are added to/accessed/removed from the map. The circumstances determine which particular implementation is better/faster. A treeSet organizes data in a tree through use of Comparator (natural ordering) and the hashSet organizes data in a hash table (using a hash function). See the Java API for more info: http://www.j2ee.me/javase/6/docs/api/java/util/TreeSet.html http://java.sun.com/javase/6/docs/api/java/util/HashSet.html The previous answer (unless I'm mistaken) is pretty much completely wrong... ----------- Previous Answer --------- In a treeset data are placed in order... while in a hashset data is randomly placed... A treeset is more efficient in case of search element. As hashSet use the hash function to store the values, it does not maintain the order of elements, but TreeSet maintains the natural odering of elements (you don't need to sort it).


Where did George Washington atend collage?

he did not go to colage he only went to school util he was 14 or 15