org.redline_rpm.IntString Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redline Show documentation
Show all versions of redline Show documentation
Redline is a pure Java library for manipulating RPM Package Manager packages.
package org.redline_rpm;
/**
* Simple class to pair an int and a String with each other.
*/
public class IntString {
private int theInt = 0;
private String theString = "";
public IntString (int theInt, String theString) {
this.theInt = theInt;
this.theString = theString;
}
public void setInt (int theInt) {
this.theInt = theInt;
}
public int getInt () {
return this.theInt;
}
public void setString (String theString) {
this.theString = theString;
}
public String getString () {
return this.theString;
}
}