Package 

Class DelegatesExtensions

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> ReadWriteProperty<Object, T> onChange(Delegates $self, T initialValue, Function2<T, T, Boolean> callback) 创建一个可观察的委托属性,并传入回调函数。
      final static <T extends Any> ReadWriteProperty<Object, T> validate(Delegates $self, T initialValue, Function1<T, Boolean> predicate) 创建一个可否决的委托属性,并通过检验新值判断是否否决。
      final static <T extends Any> ReadWriteProperty<Object, T> contrast(Delegates $self, T initialValue, Function2<T, T, Boolean> predicate) 创建一个可否决的委托属性,并通过比较新旧值判断是否否决。
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait