Differences between HashMap and Hashtable in Java

Arushi
Updated on 18-Jun-2020 07:12:18

1K+ Views

Hashtable was part of the original java.util and is a concrete implementation of a Dictionary. However, Java 2 re-engineered Hashtable so that it also implements the Map interface. Thus, Hashtable is now integrated into the collections framework. It is similar to HashMap, but is synchronized.Like HashMap, Hashtable stores key/value pairs in a hash table. When using a Hashtable, you specify an object that is used as a key, and the value that you want to be linked to that key. The key is then hashed, and the resulting hash code is used as the index at which the value is ... Read More

Show Flex Items Horizontally in Bootstrap

Amit Diwan
Updated on 18-Jun-2020 07:12:02

211 Views

To show flex items horizontally, use the flex-row class.Add it to class −Now add flex items accordingly −   TCS   Wipro   Accenture   Gartner Here is the complete example to implement the flex items horizontally −ExampleLive Demo       Bootstrap Example                             Companies           TCS       Wipro       Accenture       Gartner      

Network Standardization

Ankith Reddy
Updated on 18-Jun-2020 07:08:49

23K+ Views

Network StandardsNetworking standards define the rules for data communications that are needed for interoperability of networking technologies and processes. Standards help in creating and maintaining open markets and allow different vendors to compete on the basis of the quality of their products while being compatible with existing market products.During data communication, a number of standards may be used simultaneously at the different layers. The commonly used standards at each layer are −Application layer − HTTP, HTML, POP, H.323, IMAPTransport layer − TCP, SPXNetwork layer −IP, IPXData link layer − Ethernet IEEE 802.3, X.25, Frame RelayPhysical layer −RS-232C (cable), V.92 (modem)Types ... Read More

Who’s Who in the Telecommunications World

George John
Updated on 18-Jun-2020 07:08:18

587 Views

The service domains, legal status, and scopes of telecommunication companies worldwide are varied. In order to provide compatibility among different agencies, International Telecommunication Union (ITU) was formed. ITU is a specialized agency of the United Nations Organizations that standardizes information and communication technologies worldwide. ITU membership lays down the who’s who of the telecommunications world.Some of the main functions of the ITU areAllocates global use of radio spectrumAssigns satellite orbits through international cooperationDevelops standards for networking technologiesStrives to improve communications in developing and underdeveloped countries.Protects and supports communications and information exchange.ITU has three main sectorsITU-T: It is the Telecommunications Standardization ... Read More

Who’s Who in the International Standards World

Ankith Reddy
Updated on 18-Jun-2020 07:05:52

564 Views

International Standards are needed so that products and systems developed in different parts of the world are interoperable and compatible with each other. The standards aim to ease out the technical differences and also to ensure product safety.The most prominent organization that lays down international standards is the ISO (International Standards Organization). Two other major organizations for technical standards are NIST (National Institute of Standards and Technology) and IEEE (Institute of Electrical and Electronics Engineers).International Standards Organization (ISO)ISO is an independent, voluntary, non-treaty, non-government standards organization. It issues standards of a vast number of subjects that may be proprietary, industrial ... Read More

Who’s Who in the Internet Standards World

Arjun Thakur
Updated on 18-Jun-2020 07:01:44

4K+ Views

Internet Standards refer to all the documented requirements both in technology as well as methodology pertaining to the Internet. The standardization process has three steps. The documentation laid down in a step is called the maturity level. There were previously three maturity levels but are merged to form only two maturity levels now which are:Proposed Standard: These are the standards that are ready for implementation. However, they can be revised according to circumstances of deployment. Draft Standard: When a Proposed Standard has been meticulously tested by at least two sites for at least 4 months, they are considered as Draft Standard. ... Read More

Prime Number Program in Java

V Jyothi
Updated on 18-Jun-2020 07:00:54

2K+ Views

Following is the required program.ExampleLive Demopublic class Tester {    public static void main(String args[]) {       int i, m = 0, flag = 0;       int n = 41;// it is the number to be checked       m = n / 2;       if (n == 0 || n == 1) {          System.out.println(n + " not a prime number");       } else {          for (i = 2; i

Hide Popover Using Bootstrap Popover Hide Method

Alex Onsman
Updated on 18-Jun-2020 06:59:51

3K+ Views

To hide the displayed popover, use the popover(“hide”) method.Use the method to hide the popover like this −$(".btn-primary").click(function(){   $("[data-toggle='popover']").popover('hide'); });You can try to run the following code to implement the popover(“hide”) method −ExampleLive Demo       Bootstrap Example                             Example     Info           The following is a demo button:       Display       Hide           $(document).ready(function(){     $(".btn-default").click(function(){       $("[data-toggle='popover']").popover('show');     });     $(".btn-primary").click(function(){       $("[data-toggle='popover']").popover('hide');     });   });

Hidden BS Popover Bootstrap Event

Alex Onsman
Updated on 18-Jun-2020 06:58:23

522 Views

The hidden.bs.popover event fires when the popover is completely hidden.Fire the popover event −$("[data-toggle='popover']").on(hidden.bs.popover', function(){   alert('The Popover is now hidden!'); });You can try to run the following code to implement the hidden.bs.popover event −ExampleLive Demo       Bootstrap Example                             Awards           Here's the list:       List (Display)       List (Hide)             $(document).ready(function(){     ... Read More

Bootstrap Shown BS Tab Event

Alex Onsman
Updated on 18-Jun-2020 06:56:29

1K+ Views

The shown.bs.event fires when the tab is completely displayed. After that the alert generates as shown below −$('.nav-tabs a').on('shown.bs.tab', function(){   alert('New tab is now visible!'); });The tabs are displayed using the show() method −$(".nav-tabs a").click(function(){   $(this).tab('show'); });You can try to run the following code to implement the shown.bs.tab event −ExampleLive Demo       Bootstrap Example                                   Topic               Home       ... Read More

Advertisements