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

org.purplejrank.jdk.block.ResetBlock Maven / Gradle / Ivy

The newest version!
package org.purplejrank.jdk.block;

import java.io.DataOutputStream;
import java.io.IOException;
import org.purplejrank.JrankConstants;
import org.purplejrank.jdk.Block;
import org.purplejrank.jdk.JdkBlock;
import org.purplejrank.jdk.JdkStream;
import org.purplejrank.jdk.rule.ObjectRule;

public class ResetBlock extends JdkBlock implements ObjectRule {

	public ResetBlock(JdkStream jdk) {
		super(jdk);
	}

	@Override
	public Block parse() throws IOException {
		return this;
	}

	@Override
	public void writeJrank(DataOutputStream out) throws IOException {
		out.write(JrankConstants.J_RESET);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy