public class StringPair extends Object
Constructor and Description |
---|
StringPair(String first,
String second)
Constructor method.
|
Modifier and Type | Method and Description |
---|---|
boolean |
areDifferent()
Checks if the two pair Strings are different.
|
String |
getFirst()
Returns the first String object of the pair.
|
String |
getSecond()
Returns the 2nd String object of the pair.
|
public String getFirst()
public String getSecond()
public boolean areDifferent()
Copyright © 2004–2019. All rights reserved.