Lines Matching defs:data
48 public boolean isBound(final T data) {
49 return (isBound() && data == mData);
60 public void ensureBound(final T data) {
63 } else if (data != mData) {
64 throw new IllegalStateException("not bound to correct data " + data + " vs " + mData);
73 public void bind(final T data) {
74 // Check both this binding and the data not already bound
75 if (mData != null || data.isBound()) {
76 throw new IllegalStateException("already bound when binding to " + data);
80 data.bind(mBindingId);
81 mData = data;
86 // Check this binding is bound and that data is bound to this binding