Interface ExternalObject<T>

Type Parameters:
T - the static class of the wrapped object
All Superinterfaces:
GroundedValue, Item, Sequence
All Known Implementing Classes:
Bindery.FailureValue, ObjectValue, Tuple

public interface ExternalObject<T> extends Item
An item that wraps an external (Java or .NET) object
  • Method Details

    • getObject

      T getObject()
      Get the wrapped object
      Returns:
      the wrapped object. This will never be null.
    • getItemType

      ItemType getItemType(TypeHierarchy th)
      Get the item type of the object
      Returns:
      the item type