Tag:Tree forming

  • HashMap source code — JDK1.8

    Time:2019-11-12

    Important attributes The default capacity is 16 /** * The default initial capacity – MUST be a power of two. *N power of 2 is recommended */ static final int DEFAULT_INITIAL_CAPACITY = 1 << 4; // aka 16 Default load factor /** * The load factor used when none specified in constructor. */ static final […]