+ Added Pair structure and edited SectionedKeyvalue
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package dataStructures;
|
||||
|
||||
// A generic class designed to hold two types, as a first and second variable.
|
||||
public class Pair<T1, T2>
|
||||
{
|
||||
public T1 First;
|
||||
public T2 Second;
|
||||
|
||||
public Pair(T1 first, T2 second)
|
||||
{
|
||||
this.First = first;
|
||||
this.Second = second;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user