Class Range<T extends Comparable<T>>

    • Constructor Detail

      • Range

        public Range​(@NotNull
                     T from,
                     @NotNull
                     T to)
    • Method Detail

      • isWithin

        public boolean isWithin​(T object)
      • getFrom

        public T getFrom()
      • getTo

        public T getTo()