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

org.bsc.processor.Tuple3 Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
/*
 * 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 org.bsc.processor;

/**
 *
 * @author softphone
 */
public class Tuple3 extends Tuple2 {
    final T2 $2;
    
    public Tuple3(T0 $0, T1 $1, T2 $2) {
        super($0, $1);
        this.$2 = $2;
    }
    @Override
    public String toString() {
        return String.format("%s{$0=%s,$1=%s,$2=%s}", 
                getClass().getSimpleName(),
                String.valueOf($0),
                String.valueOf($1),
                String.valueOf($2)
        );
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy