Class Client

java.lang.Object
bank.client.Client
All Implemented Interfaces:
Serializable

public class Client extends Object implements Serializable
Class Holder contains information about holders of bank accounts. Each holder is identified by a number. Note that this class is not comparable.
See Also:
  • Field Details

    • NUMBER_COMPARATOR

      public static final Comparator<Client> NUMBER_COMPARATOR
      NUMBER_COMPARATOR allow comparing holders based on their numbers. This version uses a lambda function instead of an explicit class, but the functionality is the same.
      See Also:
    • NAME_COMPARATOR

      public static final Comparator<Client> NAME_COMPARATOR
      NAME_COMPARATOR allow comparing holders based on their names. This version uses a lambda function instead of an explicit class, but the functionality is the same.
      See Also:
  • Constructor Details

  • Method Details