Package org.aoju.bus.core.lang.tuple
Class Quartet<A,B,C,D>
java.lang.Object
org.aoju.bus.core.lang.tuple.Quartet<A,B,C,D>
- Type Parameters:
A- 第一个元素的类型B- 第二个元素的类型C- 第三个元素的类型D- 第四个元素的类型
从方法返回多个对象的便利类
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Quartet
Create a quartet and store four objects.- Parameters:
a- the first object to storeb- the second object to storec- the third object to stored- the fourth object to store
-
-
Method Details
-
getA
Returns the first stored object.- Returns:
- first object stored
-
getB
Returns the second stored object.- Returns:
- second object stored
-
getC
Returns the third stored object.- Returns:
- third object stored
-
getD
Returns the fourth stored object.- Returns:
- fourth object stored
-