Class EnumerablesTest.Emp

  • Enclosing class:

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

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

      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()
        toString in class java.lang.Object