Searched defs:unit (Results 1 - 4 of 4) sorted by relevance
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | DummyConcurrentLock.java | 42 public boolean tryLock(long time, TimeUnit unit) { argument
|
/lucene-3.6.0/lucene/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/ |
H A D | DistanceUnits.java | 32 private final String unit; field in class:DistanceUnits 39 * Creates a new DistanceUnit that represents the given unit 41 * @param unit Distance unit in String form 42 * @param earthRadius Radius of the Earth in the specific distance unit 43 * @param earthCircumfence Circumference of the Earth in the specific distance unit 45 DistanceUnits(String unit, double earthRadius, double earthCircumfence) { argument 46 this.unit = unit; 52 * Returns the DistanceUnit which represents the given unit 58 findDistanceUnit(String unit) argument [all...] |
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/ |
H A D | DateMathParser.java | 39 * subtraction, while '/' denotes "round". Round requires only a unit, while 40 * addition/subtraction require an integer value and a unit. 85 * to the corresponding Calendar constant used to set/add/roll that unit 89 * A single logical unit of time might be represented by multiple labels 131 * @exception IllegalArgumentException if unit isn't recognized. 134 public static void add(Calendar c, int val, String unit) { argument 135 Integer uu = CALENDAR_UNITS.get(unit); 138 + unit); 144 * Modifies the specified Calendar by "rounding" down to the specified unit 146 * @exception IllegalArgumentException if unit is 149 round(Calendar c, String unit) argument [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | NRTManager.java | 289 * @param unit 290 * the waiting time's time unit 292 public void waitForGeneration(long targetGen, long time, TimeUnit unit) { argument 305 if (!waitOnGenCondition(time, unit)) { 318 private boolean waitOnGenCondition(long time, TimeUnit unit) argument 325 return newGeneration.await(time, unit);
|
Completed in 2268 milliseconds