A - 第一个元素的类型B - 第二个元素的类型C - 第三个元素的类型D - 第四个元素的类型@ThreadSafe public class Quartet<A,B,C,D> extends Object
| Constructor and Description |
|---|
Quartet(A a,
B b,
C c,
D d)
Create a quartet and store four objects.
|
| Modifier and Type | Method and Description |
|---|---|
A |
getA()
Returns the first stored object.
|
B |
getB()
Returns the second stored object.
|
C |
getC()
Returns the third stored object.
|
D |
getD()
Returns the fourth stored object.
|
public final A getA()
public final B getB()
public final C getC()
public final D getD()
Copyright © 2020. All rights reserved.