Class MultiKey3<K1,​K2,​K3>

  • Type Parameters:
    K1 - The first key.
    K2 - The second key.
    K3 - The third key.
    All Implemented Interfaces:
    Comparable<MultiKey>

    public class MultiKey3<K1,​K2,​K3>
    extends MultiKey
    This MultiKey subclass uses generics to guarantee key type and order. MultiKey is unable to provide this type safety.
    Author:
    Charles Rapp
    • Constructor Detail

      • MultiKey3

        public MultiKey3​(K1 key1,
                         K2 key2,
                         K3 key3)
        Creates a three value MultiKey.
        Parameters:
        key1 - the first key.
        key2 - the second key.
        key3 - the third key.