Class EnumerablesTest.Emp

  • Enclosing class:
    EnumerablesTest

    private static class EnumerablesTest.Emp
    extends java.lang.Object
    Employee record.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int deptno  
      (package private) java.lang.String name  
    • Constructor Summary

      Constructors 
      Constructor Description
      Emp​(int deptno, java.lang.String name)  
    • 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
    • Field Detail

      • deptno

        final int deptno
      • name

        final java.lang.String name
    • Constructor Detail

      • Emp

        Emp​(int deptno,
            java.lang.String name)
    • Method Detail

      • toString

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