Returns the first number that is detected as available between two sorted numbers.</p><divclass="fullcomment"><divclass="comment cmt"><p>Get some number that is not accounted for in any other fixed pool, making it available in this generic one.<br>
<br>
Returns the first number that is detected as available between two sorted numbers.</p></div><dlclass="paramcmts block"><dtclass="param">list</dt><ddclass="cmt"><p>all of the non-repeating numbers to be compared</p></dd><dtclass="param">domainSize</dt><ddclass="cmt"><p>how many numbers can be supported</p></dd><dt>returns</dt><ddclass="cmt"><p>the next available number, or -1</p></dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#getClass"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="getClass():Class[_]"></a><aid="getClass():Class[_<:AnyRef]"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/guid/pool/GenericPool$.html#getClass():Class[_]"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier">final </span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">getClass</span><spanclass="params">()</span><spanclass="result">: <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html#java.lang.Class"name="java.lang.Class"id="java.lang.Class"class="extype">Class</a>[_ <: <spanname="scala.AnyRef"class="extype">AnyRef</span>]</span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd><dt>Annotations</dt><dd><spanclass="name">@native</span><spanclass="args">()</span></dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#hashCode"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="hashCode():Int"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/guid/pool/GenericPool$.html#hashCode():Int"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">hashCode</span><spanclass="params">()</span><spanclass="result">: <spanname="scala.Int"class="extype">Int</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd><dt>Annotations</dt><dd><spanclass="name">@native</span><spanclass="args">()</span></dd></dl></div></li><liclass="indented0 "name="scala.Any#isInstanceOf"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="isInstanceOf[T0]:Boolean"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/guid/pool/GenericPool$.html#isInstanceOf[T0]:Boolean"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier">final </span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">isInstanceOf</span><spanclass="tparams">[<spanname="T0">T0</span>]</span><spanclass="result">: <spanname="scala.Boolean"class="extype">Boolean</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>Any</dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#ne"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="ne(x$1:AnyRef):Boolean"></a><aid="ne(AnyRef):Boolean"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/guid/pool/GenericPool$.html#ne(x$1:AnyRef):Boolean"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier">final </span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">ne</span><spanclass="params">(<spanname="arg0">arg0: <spanname="scala.AnyRef"class="extype">AnyRef</span></span>)</span><spanclass="result">: <spanname="scala.Boolean"class="extype">Boolean</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#notify"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="notify():Unit"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/guid/pool/GenericPool$.html#notify():Un
<br>
Although called "<code>rand</code>," this algorithm is not actually random.</p><divclass="fullcomment"><divclass="comment cmt"><p>Get some number that is not accounted for in any other fixed pool, making it available in this generic one.<br>
<br>
Although called "<code>rand</code>," this algorithm is not actually random.
From a sorted list of numbers, with a minimum and a maximum value appended,
it finds the two adjacent numbers that are the most distant.
It finds an average whole integer number between the two.<br>
<br>
This solution gets expensive as the count of numbers in <code>list</code> increases.</p></div><dlclass="paramcmts block"><dtclass="param">list</dt><ddclass="cmt"><p>all of the non-repeating numbers to be compared</p></dd><dtclass="param">domainSize</dt><ddclass="cmt"><p>how many numbers can be supported</p></dd><dt>returns</dt><ddclass="cmt"><p>midpoint of the largest distance between any two of the existing numbers, or -1</p></dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#synchronized"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="synchronized[T0](x$1:=>T0):T0"></a><aid="synchronized[T0](=>T0):T0"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/guid/pool/GenericPool$.html#synchronized[T0](x$1:=>T0):T0"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier">final </span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">synchronized</span><spanclass="tparams">[<spanname="T0">T0</span>]</span><spanclass="params">(<spanname="arg0">arg0: =><spanname="java.lang.AnyRef.synchronized.T0"class="extype">T0</span></span>)</span><spanclass="result">: <spanname="java.lang.AnyRef.synchronized.T0"class="extype">T0</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#toString"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="toString():String"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/guid/pool/GenericPool$.html#toString():String"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier"></span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">toString</span><spanclass="params">()</span><spanclass="result">: <ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#java.lang.String"name="java.lang.String"id="java.lang.String"class="extype">String</a></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#wait"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="wait():Unit"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/guid/pool/GenericPool$.html#wait():Unit"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier">final </span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">wait</span><spanclass="params">()</span><spanclass="result">: <spanname="scala.Unit"class="extype">Unit</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><spanclass="name">@throws</span><spanclass="args">(<span><spanclass="defval">classOf[java.lang.InterruptedException]</span></span>)</span></dd></dl></div></li><liclass="indented0 "name="scala.AnyRef#wait"group="Ungrouped"fullComment="yes"data-isabs="false"visbl="pub"><aid="wait(x$1:Long,x$2:Int):Unit"></a><aid="wait(Long,Int):Unit"></a><spanclass="permalink"><ahref="../../../../../net/psforever/objects/guid/pool/GenericPool$.html#wait(x$1:Long,x$2:Int):Unit"title="Permalink"><iclass="material-icons"></i></a></span><spanclass="modifier_kind"><spanclass="modifier">final </span><spanclass="kind">def</span></span><spanclass="symbol"><spanclass="name">wait</span><spanclass="params">(<spanname="arg0">arg0: <spanname="scala.Long"class="extype">Long</span></span>, <spanname="arg1">arg1: <spanname="scala.Int"class="extype">Int</span></span>)</span><spanclass="result">: <spanname="scala.Unit"class="extype">Unit</span></span></span><divclass="fullcomment"><dlclass="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><spanclass="name">@throws</span>