⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 range.java

📁 这个是perst-269.zip下面的SOURCECODE,和大家分享了。
💻 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 + -