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

com.applitools.utils.SimplePropertyHandler Maven / Gradle / Ivy

There is a newer version: 5.76.0
Show newest version
package com.applitools.utils;

/**
 * A simple implementation of {@link PropertyHandler}. Allows get/set.
 */
public class SimplePropertyHandler implements PropertyHandler {
    private T obj;

    /**
     * {@inheritDoc}
     */
    public boolean set(T obj) {
        this.obj = obj;
        return true;
    }

    /**
     * {@inheritDoc}
     */
    public T get() {
        return obj;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy