Top Description Fields Constructors Methods
org.assertj.core.internal

public Class Bytes

extends Numbers<Byte>
implements WholeNumbers<Byte>
Class Inheritance
All Implemented Interfaces
org.assertj.core.internal.WholeNumbers
Imports
org.assertj.core.util.VisibleForTesting

Reusable assertions for Bytes.
Authors
Drummond Dawson, Alex Ruiz, Joel Costigliola, Cal027

Field Summary

Modifier and TypeField and Description
private static final Bytes

Constructor Summary

AccessConstructor and Description
pack-priv
public
Bytes(ComparisonStrategy comparisonStrategy)

Method Summary

Modifier and TypeMethod and Description
protected Byte
absDiff(Byte actual, Byte other)

Implements abstract org.assertj.core.internal.Numbers.absDiff.

public static Bytes

Returns:

the singleton instance of this class.
instance
()

Returns the singleton instance of this class.

public boolean
protected boolean
protected Byte
protected Byte
Inherited from org.assertj.core.internal.Numbers:
areEqualassertIsBetweenassertIsCloseToassertIsCloseToPercentageassertIsNegativeassertIsNotCloseToassertIsNotCloseToPercentageassertIsNotNegativeassertIsNotPositiveassertIsNotZeroassertIsOneassertIsPositiveassertIsStrictlyBetweenassertIsZeroisGreaterThanOrEqualTo

Field Detail

INSTANCEback to summary
private static final Bytes INSTANCE

Constructor Detail

Bytesback to summary
pack-priv Bytes()
Annotations
@VisibleForTesting
Bytesback to summary
public Bytes(ComparisonStrategy comparisonStrategy)

Method Detail

absDiffback to summary
protected Byte absDiff(Byte actual, Byte other)

Implements abstract org.assertj.core.internal.Numbers.absDiff.

Annotations
@Override
instanceback to summary
public static Bytes instance()

Returns the singleton instance of this class.

Returns:Bytes

the singleton instance of this class.

isEvenback to summary
public boolean isEven(Byte number)

Implements org.assertj.core.internal.WholeNumbers.isEven.

Annotations
@Override
isGreaterThanback to summary
protected boolean isGreaterThan(Byte value, Byte other)

Implements abstract org.assertj.core.internal.Numbers.isGreaterThan.

Annotations
@Override
oneback to summary
protected Byte one()

Implements abstract org.assertj.core.internal.Numbers.one.

Annotations
@Override
zeroback to summary
protected Byte zero()

Implements abstract org.assertj.core.internal.Numbers.zero.

Annotations
@Override