Tabnine Logo
tl.lin.data.pair
Code IndexAdd Tabnine to your IDE (free)

How to use tl.lin.data.pair

Best Java code snippets using tl.lin.data.pair (Showing top 20 results out of 315)

origin: tl.lin/lintools-datatypes

/**
 * Creates a pair.
 *
 * @param left the left element
 * @param right the right element
 */
public PairOfInts(int left, int right) {
 set(left, right);
}
origin: tl.lin/lintools-datatypes

/**
 * Checks two pairs for equality.
 *
 * @param obj object for comparison
 * @return <code>true</code> if <code>obj</code> is equal to this object, <code>false</code>
 *         otherwise
 */
public boolean equals(Object obj) {
 PairOfLongInt pair = (PairOfLongInt) obj;
 return leftElement == pair.getLeftElement() && rightElement == pair.getRightElement();
}
origin: tl.lin/lintools-datatypes

/**
 * Clones this object.
 *
 * @return clone of this object
 */
public PairOfLongs clone() {
 return new PairOfLongs(this.leftElement, this.rightElement);
}
origin: tl.lin/lintools-datatypes

/**
 * Checks two pairs for equality.
 *
 * @param obj object for comparison
 * @return <code>true</code> if <code>obj</code> is equal to this object, <code>false</code>
 *         otherwise
 */
public boolean equals(Object obj) {
 PairOfInts pair = (PairOfInts) obj;
 return leftElement == pair.getLeftElement() && rightElement == pair.getRightElement();
}
origin: tl.lin/lintools-datatypes

/**
 * Checks two pairs for equality.
 *
 * @param obj object for comparison
 * @return <code>true</code> if <code>obj</code> is equal to this object, <code>false</code>
 *         otherwise
 */
public boolean equals(Object obj) {
 PairOfIntLong pair = (PairOfIntLong) obj;
 return leftElement == pair.getLeftElement() && rightElement == pair.getRightElement();
}
origin: tl.lin/lintools-datatypes

/**
 * Creates a shallow clone of this object; the left element itself is not cloned.
 */
public PairOfObjectInt<L> clone() {
 return new PairOfObjectInt<L>(left, right);
}
origin: tl.lin/lintools-datatypes

/**
 * Clones this object.
 *
 * @return clone of this object
 */
public PairOfFloatInt clone() {
 return new PairOfFloatInt(this.leftElement, this.rightElement);
}
origin: tl.lin/lintools-datatypes

/**
 * Checks two pairs for equality.
 *
 * @param obj object for comparison
 * @return <code>true</code> if <code>obj</code> is equal to this object, <code>false</code>
 *         otherwise
 */
public boolean equals(Object obj) {
 PairOfFloats pair = (PairOfFloats) obj;
 return leftElement == pair.getLeftElement() && rightElement == pair.getRightElement();
}
origin: tl.lin/lintools-datatypes

/**
 * Checks two pairs for equality.
 *
 * @param obj object for comparison
 * @return <code>true</code> if <code>obj</code> is equal to this object, <code>false</code>
 *         otherwise
 */
public boolean equals(Object obj) {
 PairOfIntFloat pair = (PairOfIntFloat) obj;
 return leftElement == pair.getLeftElement() && rightElement == pair.getRightElement();
}
origin: tl.lin/lintools-datatypes

/**
 * Creates a pair.
 *
 * @param left the left element
 * @param right the right element
 */
public PairOfIntString(int left, String right) {
 set(left, right);
}
origin: tl.lin/lintools-datatypes

/**
 * Checks two pairs for equality.
 *
 * @param obj object for comparison
 * @return <code>true</code> if <code>obj</code> is equal to this object, <code>false</code>
 *         otherwise
 */
public boolean equals(Object obj) {
 PairOfFloatInt pair = (PairOfFloatInt) obj;
 return leftElement == pair.getLeftElement() && rightElement == pair.getRightElement();
}
origin: tl.lin/lintools-datatypes

/**
 * Creates a pair.
 *
 * @param left the left element
 * @param right the right element
 */
public PairOfIntLong(int left, long right) {
 set(left, right);
}
origin: tl.lin/lintools-datatypes

/**
 * Clones this object.
 *
 * @return clone of this object
 */
public PairOfLongFloat clone() {
 return new PairOfLongFloat(this.leftElement, this.rightElement);
}
origin: tl.lin/lintools-datatypes

/**
 * Creates a pair.
 *
 * @param left the left element
 * @param right the right element
 */
public PairOfStringLong(String left, long right) {
 set(left, right);
}
origin: tl.lin/lintools-datatypes

/**
 * Creates a pair.
 *
 * @param left the left element
 * @param right the right element
 */
public PairOfFloatInt(float left, int right) {
 set(left, right);
}
origin: tl.lin/lintools-datatypes

/**
 * Creates a shallow clone of this object; the left and right elements are not cloned.
 */
public PairOfObjects<L, R> clone() {
 return new PairOfObjects<L, R>(left, right);
}
origin: tl.lin/lintools-datatypes

/**
 * Creates a pair.
 *
 * @param left the left element
 * @param right the right element
 */
public PairOfLongInt(long left, int right) {
 set(left, right);
}
origin: tl.lin/lintools-datatypes

/**
 * Creates a pair.
 *
 * @param left the left element
 * @param right the right element
 */
public PairOfLongs(long left, long right) {
 set(left, right);
}
origin: tl.lin/lintools-datatypes

/**
 * Clones this object.
 *
 * @return clone of this object
 */
public PairOfIntString clone() {
 return new PairOfIntString(this.leftElement, this.rightElement);
}
origin: tl.lin/lintools-datatypes

/**
 * Creates a pair.
 *
 * @param left the left element
 * @param right the right element
 */
public PairOfIntFloat(int left, float right) {
 set(left, right);
}
tl.lin.data.pair

Most used classes

  • PairOfInts
    WritableComparable representing a pair of ints. The elements in the pair are referred to as the left
  • PairOfObjectInt
  • PairOfObjectFloat
  • PairOfStrings
    WritableComparable representing a pair of Strings. The elements in the pair are referred to as the l
  • PairOfWritables
    Class representing pair of Writables.
  • PairOfIntLong,
  • PairOfIntString,
  • PairOfLongs,
  • PairOfObjectLong,
  • PairOfStringInt,
  • PairOfFloatInt$Comparator,
  • PairOfFloatString$Comparator,
  • PairOfFloatString,
  • PairOfFloats$Comparator,
  • PairOfFloats,
  • PairOfIntFloat$Comparator,
  • PairOfIntFloat,
  • PairOfIntLong$Comparator,
  • PairOfIntString$Comparator
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now