resulttype.java
来自「world wind java sdk 源码」· Java 代码 · 共 43 行
JAVA
43 行
/*
Copyright (C) 2001, 2008 United States Government as represented by
the Administrator of the National Aeronautics and Space Administration.
All Rights Reserved.
*/
package gov.nasa.worldwind.applications.gio.csw;
import gov.nasa.worldwind.util.Logging;
/**
* @author dcollins
* @version $Id: ResultType.java 5465 2008-06-24 00:17:03Z dcollins $
*/
public class ResultType
{
private String type;
public static final ResultType RESULTS = new ResultType("results");
public static final ResultType HITS = new ResultType("hits");
public static final ResultType VALIDATE = new ResultType("validate");
protected ResultType(String type)
{
if (type == null)
{
String message = "csw.TypeIsNull";
Logging.logger().severe(message);
throw new IllegalArgumentException(message);
}
this.type = type;
}
public String getType()
{
return this.type;
}
public String toString()
{
return getType();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?