public final class Comparables
extends java.lang.Object
Constructor and Description |
---|
Comparables() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Comparable |
max(java.lang.Comparable a,
java.lang.Comparable b)
Given two comparables, return the maximum of the two.
|
static java.lang.Comparable |
min(java.lang.Comparable a,
java.lang.Comparable b)
Given two comparables, return the minimum of the two.
|
public static final java.lang.Comparable min(java.lang.Comparable a, java.lang.Comparable b)
public static final java.lang.Comparable max(java.lang.Comparable a, java.lang.Comparable b)
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.