Class SimpleOrderedPair<U,V>

java.lang.Object
org.jhotdraw8.collection.pair.SimpleOrderedPair<U,V>
Type Parameters:
U - the type of the first element of the pair
V - the type of the second element of the pair
All Implemented Interfaces:
OrderedPair<U,V>

public class SimpleOrderedPair<U,V> extends Object implements OrderedPair<U,V>
A simple implementation of the OrderedPair interface.

This is a value-type.

Author:
Werner Randelshofer
  • Constructor Details

    • SimpleOrderedPair

      public SimpleOrderedPair(U a, V b)
  • Method Details