<commit_before>/**
 * 
 */
package roslab.model.hardware;

import java.util.Map;

import roslab.model.general.Endpoint;
import roslab.model.general.Feature;

/**
 * @author <NAME>
 *
 */
public class Joint extends Feature implements Endpoint {
	
	boolean fanIn;
	boolean fanOut;

	/**
	 * @param name
	 * @param parent
	 * @param annotations
	 * @param fanIn
	 * @param fanOut
	 */
	public Joint(String name, HWBlock parent, Map<String, String> annotations, boolean fanIn, boolean fanOut) {
		super(name, parent, annotations);
		this.fanIn = fanIn;
		this.fanOut = fanOut;
	}

	/* (non-Javadoc)
	 * @see roslab.model.general.Endpoint#isFanIn()
	 */
	@Override
	public boolean isFanIn() {
		return fanIn;
	}

	/* (non-Javadoc)
	 * @see roslab.model.general.Endpoint#isFanOut()
	 */
	@Override
	public boolean isFanOut() {
		return fanOut;
	}

	/* (non-Javadoc)
	 * @see roslab.model.general.Endpoint#canConnect(roslab.model.general.Endpoint)
	 */
	@Override
	public boolean canConnect(Endpoint e) {
		return true;
	}

}
<commit_msg>Formatting cleanup.<commit_after>/**
 *
 */
package roslab.model.hardware;

import java.util.Map;

import roslab.model.general.Endpoint;
import roslab.model.general.Feature;

/**
 * @author <NAME>
 */
public class Joint extends Feature implements Endpoint {

    boolean fanIn;
    boolean fanOut;

    /**
     * @param name
     * @param parent
     * @param annotations
     * @param fanIn
     * @param fanOut
     */
    public Joint(String name, HWBlock parent, Map<String, String> annotations, boolean fanIn, boolean fanOut) {
        super(name, parent, annotations);
        this.fanIn = fanIn;
        this.fanOut = fanOut;
    }

    /*
     * (non-Javadoc)
     * @see roslab.model.general.Endpoint#isFanIn()
     */
    @Override
    public boolean isFanIn() {
        return fanIn;
    }

    /*
     * (non-Javadoc)
     * @see roslab.model.general.Endpoint#isFanOut()
     */
    @Override
    public boolean isFanOut() {
        return fanOut;
    }

    /*
     * (non-Javadoc)
     * @see
     * roslab.model.general.Endpoint#canConnect(roslab.model.general.Endpoint)
     */
    @Override
    public boolean canConnect(Endpoint e) {
        return true;
    }

}

{'fraction_non_alphanumeric': 0.12827461607949414, 'fraction_numerical': 0.0, 'mean_word_length': 2.7670068027210886, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1671388', 'n_tokens_mistral': 797, 'n_tokens_neox': 738, 'n_words': 159}