Here you can find the source of newHashTable(int initialCapacity, float loadFactor)
public static <T, E> Hashtable<T, E> newHashTable(int initialCapacity, float loadFactor)
//package com.java2s; import java.util.*; public class Main { public static <T, E> Hashtable<T, E> newHashTable() { return new Hashtable<>(); }//from w w w. j ava 2s . co m public static <T, E> Hashtable<T, E> newHashTable(int initialCapacity) { return new Hashtable<>(initialCapacity); } public static <T, E> Hashtable<T, E> newHashTable(int initialCapacity, float loadFactor) { return new Hashtable<>(initialCapacity, loadFactor); } public static <T, E> Hashtable<T, E> newHashTable(Map<? extends T, ? extends E> map) { return new Hashtable<>(map); } }