com.mtuga.tuples4j.Single Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tuples4j Show documentation
Show all versions of tuples4j Show documentation
This library aims to allow developers use tuples without 2 dimension matrix or create a specific bean to represent each tuple
/**
*
This file is part of tuples4j.
tuples4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
tuples4j is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with tuples4j. If not, see
*/
package com.mtuga.tuples4j;
import java.util.List;
import com.mtuga.tuples4j.utils.EqualsUtils;
public class Single extends Tuple {
protected A first = null;
public Single() {
}
public Single(A first) {
this.first = first;
}
@Override
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy