美文网首页
规范的源文件

规范的源文件

作者: chaofeng | 来源:发表于2015-10-13 16:19 被阅读14次
    
    /*
     * @(#)Blah.java        1.82 99/03/18
     *
     * Copyright (c) 1994-1999 Sun Microsystems, Inc.
     * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
     * All rights reserved.
     *
     * This software is the confidential and proprietary information of Sun
     * Microsystems, Inc. ("Confidential Information").  You shall not
     * disclose such Confidential Information and shall use it only in
     * accordance with the terms of the license agreement you entered into
     * with Sun.
     */
    
    
    package java.blah;
    
    import java.blah.blahdy.BlahBlah;
    
    /**
     * Class description goes here.
     *
     * @version 1.82 18 Mar 1999
     * @author Firstname Lastname
     */
    public class Blah extends SomeClass {
        /* A class implementation comment can go here. */
        
        /** classVar1 documentation comment */
        public static int classVar1;
    
        /**
         * classVar2 documentation comment that happens to be
         * more than one line long
         */
        private static Object classVar2;
    
        /** instanceVar1 documentation comment */
        public Object instanceVar1;
    
        /** instanceVar2 documentation comment */
        protected int instanceVar2;
    
        /** instanceVar3 documentation comment */
        private Object[] instanceVar3;
    
        /** 
         * ...constructor Blah documentation comment...
         */
        public Blah() {
            // ...implementation goes here...
        }
    
        /**
         * ...method doSomething documentation comment...
         */
        public void doSomething() {
            // ...implementation goes here...
        }
    
        /**
         * ...method doSomethingElse documentation comment...
         * @param someParam description
         */
        public void doSomethingElse(Object someParam) {
            // ...implementation goes here...
        }
    }

相关文章

  • Java&Android代码规范

    ----------------------Java规范---------------------- 源文件结构 ...

  • 规范的源文件

  • 技能积累

    [TOC] Android 文集 安卓开发规范(updating)1 前言2 AS规范3 命名规范4 资源文件规范...

  • 2018 安卓开发规范

    安卓开发规范(updating) 摘要 1 前言 2 AS规范 3 命名规范 4 资源文件规范 5 版本统一规范 ...

  • Android开发规范

    title: Android开发规范 摘要 1 前言 2 命名规范 3 资源文件规范 4 版本统一规范 5 第三方...

  • android开发规范

    摘要 1 前言 2 AS 规范 3 命名规范 4 代码样式规范 5 资源文件规范 6 版本统一规范 7 第三方库规...

  • Android 开发规范(转载 Blankj 作品)

    摘要 1 前言 2 AS 规范 3 命名规范 4 代码样式规范 5 资源文件规范 6 版本统一规范 7 第三方库规...

  • Android开发规范

    摘要 1 前言 2 AS 规范 3 命名规范 4 代码样式规范 5 资源文件规范 6 版本统一规范 7 第三方库规...

  • Android 开发规范(完结版)

    摘要 1 前言 2 AS 规范 3 命名规范 4 代码样式规范 5 资源文件规范 6 版本统一规范 7 第三方库规...

  • Android开发:代码规范

    摘要 1 前言 2 AS 规范 3 命名规范 4 代码样式规范 5 资源文件规范 6 版本统一规范 7 第三方库规...

网友评论

      本文标题:规范的源文件

      本文链接:https://www.haomeiwen.com/subject/bzyocttx.html