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

com.jd.blockchain.transaction.BooleanValueHolder Maven / Gradle / Ivy

There is a newer version: 1.6.5.RELEASE
Show newest version
package com.jd.blockchain.transaction;

public class BooleanValueHolder extends ValueHolderWrapper {

	BooleanValueHolder(OperationResultHolder resultHolder) {
		super(resultHolder);
	}

	/**
	 * 获取值;
* * 此方法不堵塞,调用立即返回;
* * 如果未完成时( {@link #isCompleted()} 为 false ),总是返回 false; * * @return */ public boolean get() { return super.isCompleted() ? (boolean) super.getValue() : false; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy