Class LuaReturn

All Implemented Interfaces:
Iterable, Collection, List
Direct Known Subclasses:
LuaFail, LuaSuccess

public abstract class LuaReturn extends AbstractList
  • Field Details

    • returnValues

      protected final Object[] returnValues
  • Constructor Details

    • LuaReturn

      protected LuaReturn(Object[] objectArray)
  • Method Details

    • isSuccess

      public abstract boolean isSuccess()
    • getErrorObject

      public abstract Object getErrorObject()
    • getErrorString

      public abstract String getErrorString()
    • getLuaStackTrace

      public abstract String getLuaStackTrace()
    • getJavaException

      public abstract RuntimeException getJavaException()
    • getFirst

      public Object getFirst()
    • getSecond

      public Object getSecond()
    • getThird

      public Object getThird()
    • get

      public Object get(int int1)
      Specified by:
      get in interface List
      Specified by:
      get in class AbstractList
    • size

      public int size()
      Specified by:
      size in interface Collection
      Specified by:
      size in interface List
      Specified by:
      size in class AbstractCollection
    • createReturn

      public static LuaReturn createReturn(Object[] objectArray)