Class EnumerablesTest.Dept

  • Enclosing class:

    private static class EnumerablesTest.Dept
    extends java.lang.Object
    Department record.
    • Field Summary

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

      Constructor Description
      Dept​(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

      • Dept

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

      • toString

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