Class stl_Struct.struct_Pair<A,​B>

java.lang.Object
com.jackmeng.stl.stl_Struct.struct_Pair<A,​B>
Direct Known Subclasses:
stl_Struct.struct_NamedPair
Enclosing class:
stl_Struct

public static class stl_Struct.struct_Pair<A,​B>
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    A first  
    B second  
  • Constructor Summary

    Constructors
    Constructor Description
    struct_Pair​(A first, B second)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object cum)  
    int hashCode()  
    static <F,​ L> stl_Struct.struct_Pair<F,​L> make​(F first, L last)  
    static stl_Struct.struct_Pair<?,​?> make​(java.lang.Object[] e)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • first

      public final A first
    • second

      public final B second
  • Constructor Details

    • struct_Pair

      public struct_Pair​(A first, B second)
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • make

      public static <F,​ L> stl_Struct.struct_Pair<F,​L> make​(F first, L last)
    • make

      public static stl_Struct.struct_Pair<?,​?> make​(java.lang.Object[] e)
    • equals

      public boolean equals​(java.lang.Object cum)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object