Class LongSubject


public class LongSubject extends ComparableSubject<LongSubject,Long>
Propositions for long subjects.
  • Field Details

  • Constructor Details

  • Method Details

    • isInclusivelyInRange

      @Deprecated public void isInclusivelyInRange(long lower, long upper)
      Deprecated.
      Use isIn(Range.closed(lower, upper)) instead.
      Attests that a Subject is inclusively within the lower and upper bounds provided or fails.
    • isBetween

      @Deprecated public void isBetween(long lower, long upper)
      Deprecated.
      Use isIn(Range.open(lower, upper)) instead.
      Attests that a Subject is exclusively within the lower and upper bounds provided or fails.
    • isEqualTo

      public void isEqualTo(Object other)
      Description copied from class: Subject
      Fails if the subject is not equal to the given object.
      Overrides:
      isEqualTo in class Subject<LongSubject,Long>
    • isNotEqualTo

      public void isNotEqualTo(Object other)
      Description copied from class: Subject
      Fails if the subject is equal to the given object.
      Overrides:
      isNotEqualTo in class Subject<LongSubject,Long>
    • isEqualTo

      public void isEqualTo(int other)
    • is

      public void is(int other)
    • is

      public void is(short other)
    • is

      public void is(byte other)