forked from max-sanchez/Curecoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStringLongPair.java
More file actions
29 lines (27 loc) · 769 Bytes
/
StringLongPair.java
File metadata and controls
29 lines (27 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* Curecoin 2.0.0a Source Code
* Copyright (c) 2015 Curecoin Developers
* Distributed under MIT License
* Requires Apache Commons Library
* Supports Java 1.7+
*/
/**
* I'm not a huge fan of Java's built-in options for pairing stuff together.
* So I wrote this. This class is primarily used by PendingTransactionContainer.
*/
public class StringLongPair
{
public String stringToHold;
public long longToHold;
/**
* A StringLongPair is... well... a pair containing a String and a Long.
*
* @param stringToHold String to hold
* @param longToHold Long to hold
*/
public StringLongPair(String stringToHold, long longToHold)
{
this.stringToHold = stringToHold;
this.longToHold = longToHold;
}
}