org.jenkinsci.plugins.buildenvironment.actions.utils
Class StringPair

java.lang.Object
  extended by org.jenkinsci.plugins.buildenvironment.actions.utils.StringPair

public class StringPair
extends Object

Represents a String pair object.

Author:
yboev

Constructor Summary
StringPair(String first, String second)
          Constructor method.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringPair

public StringPair(String first,
                  String second)
Constructor method.

Parameters:
first - 1st String object.
second - 2nd String object.
Method Detail

getFirst

public String getFirst()
Returns the first String object of the pair.

Returns:
the 1st String.

getSecond

public String getSecond()
Returns the 2nd String object of the pair.

Returns:
the 2nd String.

areDifferent

public boolean areDifferent()
Checks if the two pair Strings are different.

Returns:
true if the two Strins are different, false otherwise.


Copyright © 2004-2013. All Rights Reserved.