Package mgui.util

Class arCollections

java.lang.Object
mgui.util.arCollections

public class arCollections
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    arCollections()  
  • Method Summary

    Modifier and Type Method Description
    static <T> int binarySearch​(java.util.List<? extends T> list, java.lang.Comparable<? super T> key)
    Modified binary search works around the generics crap.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • arCollections

      public arCollections()
  • Method Details

    • binarySearch

      public static <T> int binarySearch​(java.util.List<? extends T> list, java.lang.Comparable<? super T> key)
      Modified binary search works around the generics crap.
      Type Parameters:
      T -
      Parameters:
      list -
      key -
      Returns: