Interface ObjectValue

All Superinterfaces:
Value
All Known Subinterfaces:
Scope
All Known Implementing Classes:
JavaObjectBinding, MochaMath, MutableObjectBinding

public interface ObjectValue extends Value
  • Method Details

    • getProperty

      @Nullable @Nullable ObjectProperty getProperty(@NotNull @NotNull String name)
      Returns the property for the given name ignoring its case. This method is CASE-INSENSITIVE.
      Parameters:
      name - The name of the property
      Returns:
      The property for the given name
      Since:
      3.0.0
    • get

      @NotNull default @NotNull Value get(@NotNull @NotNull String name)
      Gets the value of the specified property, ignoring its casing. This method is CASE-INSENSITIVE.
      Parameters:
      name - The name of the property
      Returns:
      The value of the property
      Since:
      3.0.0
    • set

      default boolean set(@NotNull @NotNull String name, @Nullable @Nullable Value value)
    • entries

      @NotNull default @NotNull Map<String,ObjectProperty> entries()
    • setFunction

      default void setFunction(@NotNull @NotNull String name, @NotNull @NotNull ObjectValue.DoubleFunction1 function)
    • setFunction

      default void setFunction(@NotNull @NotNull String name, @NotNull @NotNull ObjectValue.DoubleFunction2 function)
    • setFunction

      default void setFunction(@NotNull @NotNull String name, @NotNull @NotNull ObjectValue.DoubleFunction3 function)