<commit_before>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package DataObjects;

/**
 * This class stores the relevant data about a drum on the winch
 * 
 * @author  <NAME>, <NAME>
 * @date    11/19/2014
 */
public class Winch{
    private DrumParameters drum;
    private Parachute parachute;
    private float brakePressure;
    private float batteryVoltage;

    public Winch() {
        drum = null;
        parachute = null;
        brakePressure = 0;
        batteryVoltage = 0;
    }
    
    public Winch(DrumParameters drum, Parachute parachute, float brakePressure, float batteryVoltage) {
        this.drum = drum;
        this.parachute = parachute;
        this.brakePressure = brakePressure;
        this.batteryVoltage = batteryVoltage;
    }
    
    public void setDrum(DrumParameters newDrum) {
        drum = newDrum;
    }
    
    public DrumParameters getDrum() {
        return drum;
    }
    
    public void setParachute(Parachute newParachute) {
        parachute = newParachute;
    }
    
    public Parachute getParachute() {
        return parachute;
    }
    
    public void setParachute(float newBrakePressure) {
        brakePressure = newBrakePressure;
    }
    
    public float getBrakePressure() {
        return brakePressure;
    }
    public void setBatteryVoltage(float newBatteryVoltage) {
        batteryVoltage = newBatteryVoltage;
    }
    
    public float getBatteryVoltage() {
        return batteryVoltage;
    }    
}<commit_msg>Update Winch.java<commit_after>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package DataObjects;

/**
 * This class stores the relevant data about a drum on the winch
 * 
 * @author  <NAME>, <NAME>
 * @date    11/19/2014
 */
public class Winch{
    private float brakePressure;
    private float batteryVoltage;

    public Winch() {
        drum = null;
        parachute = null;
        brakePressure = 0;
        batteryVoltage = 0;
    }
    
    public Winch(float brakePressure, float batteryVoltage) {

        this.brakePressure = brakePressure;
        this.batteryVoltage = batteryVoltage;
    }

    
    public void setParachute(float newBrakePressure) {
        brakePressure = newBrakePressure;
    }
    
    public float getBrakePressure() {
        return brakePressure;
    }
    public void setBatteryVoltage(float newBatteryVoltage) {
        batteryVoltage = newBatteryVoltage;
    }
    
    public float getBatteryVoltage() {
        return batteryVoltage;
    }    
}
{'fraction_non_alphanumeric': 0.07215373459028282, 'fraction_numerical': 0.007251631617113851, 'mean_word_length': 2.4879898862199745, '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': '634055', 'n_tokens_mistral': 868, 'n_tokens_neox': 839, 'n_words': 229}