public class AddressOps
extends java.lang.Object
Constructor and Description |
---|
AddressOps() |
Modifier and Type | Method and Description |
---|---|
static boolean |
equal(Address a1,
Address a2)
Returns true if a1 is equal to a2.
|
static boolean |
greaterThan(Address a1,
Address a2)
Returns true if a1 is greater than a2.
|
static boolean |
greaterThanOrEqual(Address a1,
Address a2)
Returns true if a1 is greater than or equal to a2.
|
static boolean |
gt(Address a1,
Address a2)
|
static boolean |
gte(Address a1,
Address a2)
|
static boolean |
lessThan(Address a1,
Address a2)
Returns true if a1 is less than a2.
|
static boolean |
lessThanOrEqual(Address a1,
Address a2)
Returns true if a1 is less than or equal to a2.
|
static boolean |
lt(Address a1,
Address a2)
|
static boolean |
lte(Address a1,
Address a2)
|
static Address |
max(Address a1,
Address a2)
Returns maximum of the two addresses
|
static Address |
min(Address a1,
Address a2)
Returns minimum of the two addresses
|
public static boolean lessThan(Address a1, Address a2)
public static boolean lessThanOrEqual(Address a1, Address a2)
public static boolean greaterThan(Address a1, Address a2)
public static boolean greaterThanOrEqual(Address a1, Address a2)
public static boolean equal(Address a1, Address a2)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.