📄 range.java
字号:
package org.garret.rdf;
/**
* Class used to represent range of property values for search queries
*/
public class Range {
/**
* Low boundary
*/
public final Object from;
/**
* Whether low boundary is inclusive or exclusive
*/
public final boolean fromInclusive;
/**
* High boundary
*/
public final Object till;
/**
* Whether high boundary is inclusive or exclusive
*/
public final boolean tillInclusive;
/**
* Range constructor
*
* @param from low boundary
* @param fromInclusive is low boundary inclusive or exclusive
* @param till high boundary
* @param tillInclusive is high boundary inclusive or exclusive
*/
public Range(Object from, boolean fromInclusive, Object till, boolean tillInclusive) {
this.from = from;
this.fromInclusive = fromInclusive;
this.till = till;
this.tillInclusive = tillInclusive;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -