Class Person


  • @Immutable
    public class Person
    extends java.lang.Object
    Author:
    Fabrizio Giudici
    • Constructor Summary

      Constructors 
      Constructor Description
      Person​(java.lang.String firstName, java.lang.String lastName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Person

        public Person​(@Nonnull
                      java.lang.String firstName,
                      @Nonnull
                      java.lang.String lastName)
    • Method Detail

      • toString

        @Nonnull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object