Class ComparatorInfo<T1,T2>

java.lang.Object
org.skriptlang.skript.lang.comparator.ComparatorInfo<T1,T2>
Type Parameters:
T1 - The first type for comparison.
T2 - The second type for comparison.

public final class ComparatorInfo<T1,T2> extends Object
Holds information about a Comparator.
  • Method Details

    • getFirstType

      public Class<T1> getFirstType()
      Returns:
      The first type for comparison for this Comparator.
    • getSecondType

      public Class<T2> getSecondType()
      Returns:
      The second type for comparison for this Comparator.
    • getComparator

      public Comparator<T1,T2> getComparator()
      Returns:
      The Comparator this information is in reference to.
    • toString

      public String toString()
      Overrides:
      toString in class Object