35dc4bb481
Signed-off-by: DroppingAnvil <dr0pping.4nvi1@gmail.com>
684 lines
26 KiB
HTML
684 lines
26 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (12.0.1) on Fri Nov 01 13:30:56 CDT 2019 -->
|
|
<title>ReflectionUtils.DataType</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="dc.created" content="2019-11-01">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
|
|
<script type="text/javascript" src="../../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
|
|
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script>
|
|
<script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script>
|
|
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="ReflectionUtils.DataType";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var data = {"i0":9,"i1":9,"i2":10,"i3":9,"i4":9,"i5":9,"i6":10,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9};
|
|
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
var pathtoroot = "../../../../../";
|
|
var useModuleDirectories = true;
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<header role="banner">
|
|
<nav role="navigation">
|
|
<div class="fixedNav">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a id="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested.class.summary">Nested</a> | </li>
|
|
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<ul class="navListSearch">
|
|
<li><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" value="reset" disabled="disabled">
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
</div>
|
|
<div class="navPadding"> </div>
|
|
<script type="text/javascript"><!--
|
|
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
|
//-->
|
|
</script>
|
|
</nav>
|
|
</header>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<main role="main">
|
|
<div class="header">
|
|
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.massivecraft.factions.util.Particles</a></div>
|
|
<h2 title="Enum ReflectionUtils.DataType" class="title">Enum ReflectionUtils.DataType</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>java.lang.Enum<<a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a>></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.massivecraft.factions.util.Particles.ReflectionUtils.DataType</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd><code>java.io.Serializable</code>, <code>java.lang.Comparable<<a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a>></code>, <code>java.lang.constant.Constable</code></dd>
|
|
</dl>
|
|
<dl>
|
|
<dt>Enclosing class:</dt>
|
|
<dd><a href="ReflectionUtils.html" title="class in com.massivecraft.factions.util.Particles">ReflectionUtils</a></dd>
|
|
</dl>
|
|
<hr>
|
|
<pre>public static enum <span class="typeNameLabel">ReflectionUtils.DataType</span>
|
|
extends java.lang.Enum<<a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a>></pre>
|
|
<div class="block">Represents an enumeration of Java data types with corresponding classes
|
|
<p>
|
|
This class is part of the <b>ReflectionUtils</b> and follows the same usage conditions</div>
|
|
<dl>
|
|
<dt><span class="simpleTagLabel">Since:</span></dt>
|
|
<dd>1.0</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="nested.class.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested Class Summary</h3>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="nested.classes.inherited.from.class.java.lang.Enum">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Nested classes/interfaces inherited from class java.lang.Enum</h3>
|
|
<code>java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="enum.constant.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Enum Constant Summary</h3>
|
|
<div class="memberSummary">
|
|
<table>
|
|
<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Enum Constant</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#BOOLEAN">BOOLEAN</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#BYTE">BYTE</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#CHARACTER">CHARACTER</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#DOUBLE">DOUBLE</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#FLOAT">FLOAT</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#INTEGER">INTEGER</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#LONG">LONG</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<th class="colFirst" scope="row"><code><span class="memberNameLink"><a href="#SHORT">SHORT</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<div class="memberSummary">
|
|
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t1" class="tableTab" onclick="show(1);">Static Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button></div>
|
|
<div id="memberSummary_tabpanel" role="tabpanel">
|
|
<table aria-labelledby="t0">
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Method</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor" id="i0">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#compare(java.lang.Class%5B%5D,java.lang.Class%5B%5D)">compare</a></span>​(java.lang.Class<?>[] primary,
|
|
java.lang.Class<?>[] secondary)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Compares two class arrays on equivalence</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i1">
|
|
<td class="colFirst"><code>static <a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fromClass(java.lang.Class)">fromClass</a></span>​(java.lang.Class<?> clazz)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the data type with the given primitive/reference class</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i2">
|
|
<td class="colFirst"><code>java.lang.Class<?></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPrimitive()">getPrimitive</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the primitive class of this data type</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i3">
|
|
<td class="colFirst"><code>static java.lang.Class<?></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPrimitive(java.lang.Class)">getPrimitive</a></span>​(java.lang.Class<?> clazz)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the primitive class of the data type with the given reference class</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i4">
|
|
<td class="colFirst"><code>static java.lang.Class<?>[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPrimitive(java.lang.Class%5B%5D)">getPrimitive</a></span>​(java.lang.Class<?>[] classes)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the primitive class array of the given class array</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i5">
|
|
<td class="colFirst"><code>static java.lang.Class<?>[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPrimitive(java.lang.Object%5B%5D)">getPrimitive</a></span>​(java.lang.Object[] objects)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the primitive class array of the given object array</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i6">
|
|
<td class="colFirst"><code>java.lang.Class<?></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getReference()">getReference</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the reference class of this data type</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i7">
|
|
<td class="colFirst"><code>static java.lang.Class<?></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getReference(java.lang.Class)">getReference</a></span>​(java.lang.Class<?> clazz)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the reference class of the data type with the given primitive class</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i8">
|
|
<td class="colFirst"><code>static java.lang.Class<?>[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getReference(java.lang.Class%5B%5D)">getReference</a></span>​(java.lang.Class<?>[] classes)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the reference class array of the given class array</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i9">
|
|
<td class="colFirst"><code>static java.lang.Class<?>[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getReference(java.lang.Object%5B%5D)">getReference</a></span>​(java.lang.Object[] objects)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the reference class array of the given object array</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i10">
|
|
<td class="colFirst"><code>static <a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#valueOf(java.lang.String)">valueOf</a></span>​(java.lang.String name)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i11">
|
|
<td class="colFirst"><code>static <a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a>[]</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#values()">values</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Returns an array containing the constants of this enum type, in
|
|
the order they are declared.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Enum">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.Enum</h3>
|
|
<code>clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.Object</h3>
|
|
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="enum.constant.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Enum Constant Detail</h3>
|
|
<a id="BYTE">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>BYTE</h4>
|
|
<pre>public static final <a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a> BYTE</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="SHORT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>SHORT</h4>
|
|
<pre>public static final <a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a> SHORT</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="INTEGER">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>INTEGER</h4>
|
|
<pre>public static final <a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a> INTEGER</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="LONG">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>LONG</h4>
|
|
<pre>public static final <a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a> LONG</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="CHARACTER">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>CHARACTER</h4>
|
|
<pre>public static final <a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a> CHARACTER</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="FLOAT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>FLOAT</h4>
|
|
<pre>public static final <a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a> FLOAT</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="DOUBLE">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DOUBLE</h4>
|
|
<pre>public static final <a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a> DOUBLE</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="BOOLEAN">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>BOOLEAN</h4>
|
|
<pre>public static final <a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a> BOOLEAN</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<section role="region">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a id="values()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>values</h4>
|
|
<pre class="methodSignature">public static <a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a>[] values()</pre>
|
|
<div class="block">Returns an array containing the constants of this enum type, in
|
|
the order they are declared.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="valueOf(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>valueOf</h4>
|
|
<pre class="methodSignature">public static <a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a> valueOf​(java.lang.String name)</pre>
|
|
<div class="block">Returns the enum constant of this type with the specified name.
|
|
The string must match <i>exactly</i> an identifier used to declare an
|
|
enum constant in this type. (Extraneous whitespace characters are
|
|
not permitted.)</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the enum constant with the specified name</dd>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
|
|
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="fromClass(java.lang.Class)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>fromClass</h4>
|
|
<pre class="methodSignature">public static <a href="ReflectionUtils.DataType.html" title="enum in com.massivecraft.factions.util.Particles">ReflectionUtils.DataType</a> fromClass​(java.lang.Class<?> clazz)</pre>
|
|
<div class="block">Returns the data type with the given primitive/reference class</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>clazz</code> - Primitive/Reference class of the data type</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The data type</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getPrimitive(java.lang.Class)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPrimitive</h4>
|
|
<pre class="methodSignature">public static java.lang.Class<?> getPrimitive​(java.lang.Class<?> clazz)</pre>
|
|
<div class="block">Returns the primitive class of the data type with the given reference class</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>clazz</code> - Reference class of the data type</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The primitive class</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getReference(java.lang.Class)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getReference</h4>
|
|
<pre class="methodSignature">public static java.lang.Class<?> getReference​(java.lang.Class<?> clazz)</pre>
|
|
<div class="block">Returns the reference class of the data type with the given primitive class</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>clazz</code> - Primitive class of the data type</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The reference class</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getPrimitive(java.lang.Class[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPrimitive</h4>
|
|
<pre class="methodSignature">public static java.lang.Class<?>[] getPrimitive​(java.lang.Class<?>[] classes)</pre>
|
|
<div class="block">Returns the primitive class array of the given class array</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>classes</code> - Given class array</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The primitive class array</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getReference(java.lang.Class[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getReference</h4>
|
|
<pre class="methodSignature">public static java.lang.Class<?>[] getReference​(java.lang.Class<?>[] classes)</pre>
|
|
<div class="block">Returns the reference class array of the given class array</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>classes</code> - Given class array</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The reference class array</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getPrimitive(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPrimitive</h4>
|
|
<pre class="methodSignature">public static java.lang.Class<?>[] getPrimitive​(java.lang.Object[] objects)</pre>
|
|
<div class="block">Returns the primitive class array of the given object array</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>objects</code> - Given object array</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The primitive class array</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getReference(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getReference</h4>
|
|
<pre class="methodSignature">public static java.lang.Class<?>[] getReference​(java.lang.Object[] objects)</pre>
|
|
<div class="block">Returns the reference class array of the given object array</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>objects</code> - Given object array</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The reference class array</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="compare(java.lang.Class[],java.lang.Class[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>compare</h4>
|
|
<pre class="methodSignature">public static boolean compare​(java.lang.Class<?>[] primary,
|
|
java.lang.Class<?>[] secondary)</pre>
|
|
<div class="block">Compares two class arrays on equivalence</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>primary</code> - Primary class array</dd>
|
|
<dd><code>secondary</code> - Class array which is compared to the primary array</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Whether these arrays are equal or not</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getPrimitive()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPrimitive</h4>
|
|
<pre class="methodSignature">public java.lang.Class<?> getPrimitive()</pre>
|
|
<div class="block">Returns the primitive class of this data type</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The primitive class</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getReference()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>getReference</h4>
|
|
<pre class="methodSignature">public java.lang.Class<?> getReference()</pre>
|
|
<div class="block">Returns the reference class of this data type</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The reference class</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a id="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li><a href="#nested.class.summary">Nested</a> | </li>
|
|
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<a id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</nav>
|
|
</footer>
|
|
</body>
|
|
</html>
|