I was going through the TreeNode Class in java 8.
static final class TreeNode<K, V> extends java.util.LinkedHashMap.Entry<K, V> {
    HashMap.TreeNode<K, V> parent;
    HashMap.TreeNode<K, V> left;
    HashMap.TreeNode<K, V> right;
    HashMap.TreeNode<K, V> prev;
    boolean red;
    TreeNode(int arg0, K arg1, V arg2, HashMap.Node<K, V> arg3) {
        super(arg0, arg1, arg2, arg3);
    }
As the tree will create when the HashCode is SAME i.e. the bucket will be same for the all the Hash Collides keys. Then how the RED-Black tree will be created when the entries are more then 8 in the same bucket?
 
    