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

com.softicar.platform.common.container.pair.IPair Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
package com.softicar.platform.common.container.pair;

/**
 * General interface of a pair of two elements.
 * 

* A pair is a 2-tuple. * * @param * type of the first element * @param * type of the second element * @author Oliver Richers */ public interface IPair { /** * @return the first element, may be null */ A getFirst(); /** * @return the second element, may be null */ B getSecond(); /** * Sets the value of the first element. * * @param first * the new value of the first element, may be null */ void setFirst(A first); /** * Sets the value of the second element. * * @param second * the new value of the second element, may be null */ void setSecond(B second); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy