permission.java

来自「JAVA基本类源代码,大家可以学习学习!」· Java 代码 · 共 37 行

JAVA
37
字号
/* * @(#)Permission.java	1.12 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package java.security.acl;/** * This interface represents a permission, such as that used to grant * a particular type of access to a resource. * * @author Satish Dharmaraj */public interface Permission {    /**     * Returns true if the object passed matches the permission represented      * in this interface.     *      * @param another the Permission object to compare with.     *      * @return true if the Permission objects are equal, false otherwise     */    public boolean equals(Object another);        /**     * Prints a string representation of this permission.     *      * @return the string representation of the permission.     */    public String toString();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?