Class Interval

    • Constructor Detail

      • Interval

        public Interval()
    • Method Detail

      • create

        @NotNull
        public static Interval create​(@Nullable
                                      Long fromId,
                                      @Nullable
                                      Long toId)
      • includes

        public boolean includes​(long id)
      • includes

        public boolean includes​(@NotNull
                                Interval interval)
      • getFromId

        public abstract long getFromId()
      • getToId

        public abstract long getToId()
      • getSize

        public long getSize()