类 PictureDump


  • public class PictureDump
    extends java.lang.Object
    The PictureDump class provides a client for displaying the contents of a binary file as a black-and-white picture.

    For additional documentation, see Section 5.5 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.

    See also BinaryDump and HexDump.

    • 方法概要

      修饰符和类型 方法 说明
      static void main​(java.lang.String[] args)
      Reads in a sequence of bytes from standard input and draws them to standard drawing output as a width-by-height picture, using black for 1 and white for 0 (and red for any leftover pixels).
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 方法详细资料

      • main

        public static void main​(java.lang.String[] args)
        Reads in a sequence of bytes from standard input and draws them to standard drawing output as a width-by-height picture, using black for 1 and white for 0 (and red for any leftover pixels).
        参数:
        args - the command-line arguments