Package generic

Class ULongSpan.Empty

java.lang.Object
generic.ULongSpan.Empty
All Implemented Interfaces:
Span<Long,ULongSpan>, Span.Empty<Long,ULongSpan>, ULongSpan, Comparable<ULongSpan>
Enclosing interface:
ULongSpan

public static class ULongSpan.Empty extends Object implements ULongSpan, Span.Empty<Long,ULongSpan>
The singleton empty span of unsigned longs
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • domain

      public ULongSpan.Domain domain()
      Description copied from interface: Span
      Get the domain of this span's endpoints
      Specified by:
      domain in interface Span<Long,ULongSpan>
      Returns:
      the domain
    • length

      public long length()
      Description copied from interface: ULongSpan
      Get the length of the span
      Specified by:
      length in interface ULongSpan
      Returns:
      the length