Java曾经有过Pair类吗? [英] Didn't Java once have a Pair class?

查看:163
本文介绍了Java曾经有过Pair类吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我记得不正确,或曾经做过Java,曾经提供过Pair类作为其API的一部分吗?

Am I remembering incorrectly, or did Java, once upon a time, provide a Pair class as part of its API?

推荐答案

标准框架中没有配对,但 Apache Commons Lang ,非常接近标准,有一个配对

There is no Pair in the standard framework, but the Apache Commons Lang, which comes quite close to "standard", has a Pair.

这篇关于Java曾经有过Pair类吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆