Class FieldSpan.Domain

java.lang.Object
generic.End.EndDomain<Field,FieldSpan>
ghidra.util.database.FieldSpan.Domain
All Implemented Interfaces:
Span.Domain<End<Field>,FieldSpan>
Enclosing interface:
FieldSpan

public static class FieldSpan.Domain extends End.EndDomain<Field,FieldSpan>
The domain of field values, allowing open endpoints
  • Method Details

    • closed

      public FieldSpan closed(End<Field> min, End<Field> max)
      Description copied from interface: Span.Domain
      Create a new span with the given endpoints, inclusive.
      Parameters:
      min - the lower endpoint
      max - the upper endpoint
      Returns:
      the span
    • newSpan

      public FieldSpan newSpan(End<Field> min, End<Field> max)
      Description copied from interface: Span.Domain
      Factory method for a new span after arguments are validated
      Parameters:
      min - the lower endpoint
      max - the upper endpoint
      Returns:
      the span
    • empty

      public FieldSpan empty()
      Description copied from interface: Span.Domain
      Get the span that contains no value, nor has any endpoints

      This span is returned when the result doesn't exist, e.g., when finding the intersection of spans which do not intersect.

      Returns:
      the empty span
    • all

      public FieldSpan all()
      Description copied from interface: Span.Domain
      Get the span containing all values in the domain
      Returns:
      the span