Package ch.njol.skript.classes

Examples of ch.njol.skript.classes.Converter


    }
   
    @SuppressWarnings({"rawtypes", "unchecked"})
    @Override
    public Relation compare(final T1 o1, final T2 o2) {
      final Converter c1 = this.c1;
      final Object t1 = c1 == null ? o1 : c1.convert(o1);
      if (t1 == null)
        return Relation.NOT_EQUAL;
      final Converter c2 = this.c2;
      final Object t2 = c2 == null ? o2 : c2.convert(o2);
      if (t2 == null)
        return Relation.NOT_EQUAL;
      return c.compare(t1, t2);
    }
View Full Code Here

TOP

Related Classes of ch.njol.skript.classes.Converter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.