Package ru.bitel.common.model

# Class Pair<T1,T2>

java.lang.Object
ru.bitel.common.model.Pair<T1,T2>

Type Parameters:
  `T1` - первый тип
  `T2` - второй тип

public class Pair<T1,T2> extends Object
Класс "пара", его часто не хватает.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Pair()`
  `Pair(T1 first, T2 second)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object other)`
  `T1`
  `getFirst()`
  `T2`
  `getSecond()`
  `int`
  `hashCode()`
  `void`
  `setFirst(T1 first)`
  `void`
  `setSecond(T2 second)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### Pair

    public Pair()

  - ### Pair

    public Pair(T1 first, T2 second)

- ## Method Details

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### equals

    public boolean equals(Object other)
    Overrides:
      `equals` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### getFirst

    public T1 getFirst()

  - ### setFirst

    public void setFirst(T1 first)

  - ### getSecond

    public T2 getSecond()

  - ### setSecond

    public void setSecond(T2 second)