Examples of numTypes()


Examples of ch.njol.skript.aliases.ItemType.numTypes()

  public Iterator<Integer> iterator(final Event e) {
    if (single) {
      final ItemType t = getExpr().getSingle(e);
      if (t == null)
        return null;
      if (t.numTypes() == 0)
        return null;
      return new SingleItemIterator<Integer>(t.getTypes().get(0).getId());
    }
    final Iterator<? extends ItemType> iter = getExpr().iterator(e);
    if (iter == null || !iter.hasNext())
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.