Examples of greater()


Examples of com.clarkparsia.pellet.datatypes.OWLRealInterval.greater()

   * Test getting a sub-interval greater than an integer on an integer line.
   */
  @Test
  public void greaterInt1() {
    final OWLRealInterval i = interval( 1, 5, true, true, LineType.INTEGER_ONLY );
    assertEquals( interval( 3, 5, true, true, LineType.INTEGER_ONLY ), i.greater( 2 ) );
  }

  /**
   * Test getting a sub-interval greater than the lower endpoint of an integer
   * line.
 
View Full Code Here

Examples of com.clarkparsia.pellet.datatypes.OWLRealInterval.greater()

   * line.
   */
  @Test
  public void greaterInt2() {
    final OWLRealInterval i = interval( 1, 5, true, true, LineType.INTEGER_ONLY );
    assertEquals( interval( 2, 5, true, true, LineType.INTEGER_ONLY ), i.greater( 1 ) );
  }

  /**
   * Verify that inclusive endpoints are contained within the interval. For
   * continuous intervals.
View Full Code Here

Examples of com.clarkparsia.pellet.datatypes.types.real.IntegerInterval.greater()

   * Test getting a sub-interval greater than an integer on an integer line.
   */
  @Test
  public void greater1() {
    final IntegerInterval i = interval( 1, 5 );
    assertEquals( interval( 3, 5 ), i.greater( 2 ) );
  }

  /**
   * Test getting a sub-interval greater than the lower endpoint of an integer
   * line.
 
View Full Code Here

Examples of com.clarkparsia.pellet.datatypes.types.real.IntegerInterval.greater()

   * line.
   */
  @Test
  public void greater2() {
    final IntegerInterval i = interval( 1, 5 );
    assertEquals( interval( 2, 5 ), i.greater( 1 ) );
  }

  /**
   * Verify that endpoints are contained within the interval.
   */
 
View Full Code Here

Examples of org.gridgain.grid.kernal.processors.ggfs.GridGgfsFileAffinityRange.greater()

        if (leftRange.belongs(blockOff))
            return leftRange.status() != RANGE_STATUS_MOVED ? leftRange.affinityKey() :
                includeMoved ? leftRange.affinityKey() : null;

        if (rightRange.greater(blockOff))
            return null;

        if (rightRange.belongs(blockOff))
            return rightRange.status() != RANGE_STATUS_MOVED ? rightRange.affinityKey() :
                includeMoved ? leftRange.affinityKey() : null;
View Full Code Here

Examples of org.gridgain.grid.kernal.processors.ggfs.GridGgfsFileAffinityRange.greater()

            // If offset is less then block start, update right index.
            if (midRange.less(blockOff))
                rightIdx = midIdx;
            else {
                assert midRange.greater(blockOff);

                leftIdx = midIdx;
            }
        }
View Full Code Here

Examples of org.gridgain.grid.kernal.processors.ggfs.GridGgfsFileAffinityRange.greater()

            // If range we are looking for is less
            if (midRange.less(range.startOffset()))
                lastIdx = midIdx;
            else {
                assert midRange.greater(range.startOffset());

                firstIdx = midIdx;
            }
        }
View Full Code Here

Examples of org.gridgain.grid.kernal.processors.ggfs.GridGgfsFileAffinityRange.greater()

                // If range we are looking for is less
                if (midRange.less(range.startOffset()))
                    lastIdx = midIdx;
                else {
                    assert midRange.greater(range.startOffset());

                    firstIdx = midIdx;
                }
            }
        }
View Full Code Here

Examples of org.gridgain.grid.kernal.processors.ggfs.GridGgfsFileAffinityRange.greater()

        assert !ranges.isEmpty();

        GridGgfsFileAffinityRange last = ranges.get(ranges.size() - 1);

        // Ensure that range being added is located to the right of last range in list.
        assert last.greater(range.startOffset()) : "Cannot add range to middle of map [last=" + last +
            ", range=" + range + ']';

        // Try to concat last and new range.
        GridGgfsFileAffinityRange concat = last.concat(range);
View Full Code Here

Examples of org.opengis.filter.FilterFactory.greater()

                    FeatureSource fs = remoteStore.getFeatureSource(TOPP_STATES);
                    remoteStatesAvailable = Boolean.TRUE;
                    // check a basic response can be answered correctly
                    DefaultQuery dq = new DefaultQuery(TOPP_STATES);
                    FilterFactory ff = CommonFactoryFinder.getFilterFactory(null);
                    dq.setFilter(ff.greater(ff.property("PERSONS"), ff.literal(20000000)));
                    FeatureCollection fc = fs.getFeatures(dq);
                    if(fc.size() != 1) {
                        logger.log(Level.WARNING, "Remote database status invalid, there should be one and only one " +
                                "feature with more than 20M persons in topp:states");
                        remoteStatesAvailable = Boolean.FALSE;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.