📄 wildcardtype.java
字号:
/* * @(#)WildcardType.java 1.3 06/07/31 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package javax.lang.model.type;/** * Represents a wildcard type argument. * Examples include: <pre><tt> * ? * ? extends Number * ? super T * </tt></pre> * * <p> A wildcard may have its upper bound explicitly set by an * {@code extends} clause, its lower bound explicitly set by a * {@code super} clause, or neither (but not both). * * @author Joseph D. Darcy * @author Scott Seligman * @author Peter von der Ahé * @version 1.3 06/07/31 * @since 1.6 */public interface WildcardType extends TypeMirror { /** * Returns the upper bound of this wildcard. * If no upper bound is explicitly declared, * {@code null} is returned. * * @return the upper bound of this wildcard */ TypeMirror getExtendsBound(); /** * Returns the lower bound of this wildcard. * If no lower bound is explicitly declared, * {@code null} is returned. * * @return the lower bound of this wildcard */ TypeMirror getSuperBound();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -