All Downloads are FREE. Search and download functionalities are using the official Maven repository.

arez.spy.PropertyAccessor Maven / Gradle / Ivy

There is a newer version: 0.213
Show newest version
package arez.spy;

import grim.annotations.OmitType;

/**
 * Returning the value of an ObservableValue.
 *
 * @param  The type of the ObservableValue value.
 */
@OmitType( unless = "arez.enable_property_introspection" )
@FunctionalInterface
public interface PropertyAccessor
{
  /**
   * Return the value of an ObservableValue.
   *
   * @return the value of an ObservableValue.
   * @throws Throwable if unable to retrieve value.
   */
  T get()
    throws Throwable;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy