/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | SetOnce.java | 24 * implementation which allows one to set the value of an object exactly once, 25 * and retrieve it many times. If {@link #set(Object)} is called more than once, 33 /** Thrown when {@link SetOnce#set(Object)} is called more than once. */ 36 super("The object cannot be set twice!"); 41 private final AtomicBoolean set; field in class:SetOnce 44 * A default constructor which does not set the internal object, and allows 45 * setting it by calling {@link #set(Object)}. 48 set = new AtomicBoolean(false); 52 * Creates a new instance with the internal object set to the given object. 53 * Note that any calls to {@link #set(Objec 65 public final void set(T obj) { method in class:SetOnce [all...] |
H A D | CloseableThreadLocal.java | 67 // On each get or set we decrement this; when it hits 0 we 68 // purge. After purge, we set this to 82 set(iv); 93 public void set(T object) { method in class:CloseableThreadLocal 95 t.set(new WeakReference<T>(object)); 127 countUntilPurge.set(nextCount);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | TermInfo.java | 45 final void set(int docFreq, method in class:TermInfo 53 final void set(TermInfo ti) { method in class:TermInfo
|
H A D | Term.java | 121 final void set(String fld, String txt) { method in class:Term
|
H A D | TermBuffer.java | 29 private boolean dirty; // true if text was set externally (ie not read via UTF8 bytes) 89 public final void set(Term term) { method in class:TermBuffer 103 public final void set(TermBuffer other) { method in class:TermBuffer
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/util/ |
H A D | TestSetOnce.java | 28 SetOnce<Integer> set; field in class:TestSetOnce.SetOnceThread 40 set.set(new Integer(Integer.parseInt(getName().substring(2)))); 54 SetOnce<Integer> set = new SetOnce<Integer>(); 55 assertNull(set.get()); 60 SetOnce<Integer> set = new SetOnce<Integer>(new Integer(5)); 61 assertEquals(5, set.get().intValue()); 62 set.set(new Integer(7)); 67 SetOnce<Integer> set [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/util/ |
H A D | TestSetOnce.java | 28 SetOnce<Integer> set; field in class:TestSetOnce.SetOnceThread 40 set.set(new Integer(Integer.parseInt(getName().substring(2)))); 54 SetOnce<Integer> set = new SetOnce<Integer>(); 55 assertNull(set.get()); 60 SetOnce<Integer> set = new SetOnce<Integer>(new Integer(5)); 61 assertEquals(5, set.get().intValue()); 62 set.set(new Integer(7)); 67 SetOnce<Integer> set [all...] |
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/encoding/ |
H A D | SortingIntEncoder.java | 36 private int[] set = new int[1024]; field in class:SortingIntEncoder 49 Arrays.sort(set, 0, index); 51 encoder.encode(set[i]); 61 if (index == set.length) { 62 int[] newSet = new int[(int) (set.length * grow)]; 63 System.arraycopy(set, 0, newSet, 0, set.length); 64 set = newSet; 66 set[index++] = value;
|
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/config/ |
H A D | AbstractQueryConfig.java | 28 * It has operations to set, unset and get configuration values. 94 * Returns true if there is a value set with the given key, otherwise false. 98 * @return true if there is a value set with the given key, otherwise false 117 public <T> void set(ConfigurationKey<T> key, T value) { method in class:AbstractQueryConfig 155 * @return true if the key and value was set and removed, otherwise false
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/packed/ |
H A D | Direct16.java | 76 public void set(final int index, final long value) { method in class:Direct16
|
H A D | Direct32.java | 72 public void set(final int index, final long value) { method in class:Direct32
|
H A D | Direct64.java | 68 public void set(final int index, final long value) { method in class:Direct64
|
H A D | Direct8.java | 77 public void set(final int index, final long value) { method in class:Direct8
|
H A D | GrowableWriter.java | 73 public void set(int index, long value) { method in class:GrowableWriter 83 next.set(i, current.get(i)); 88 current.set(index, value); 99 next.set(i, get(i));
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/index/attributes/ |
H A D | CategoryAttribute.java | 42 public void set(CategoryAttribute other); method in interface:CategoryAttribute 99 * @return A set containing the active property classes, or {@code null} if
|
H A D | CategoryAttributeImpl.java | 63 public void set(CategoryAttribute other) { method in class:CategoryAttributeImpl
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/util/ |
H A D | ScoredDocIdsUtils.java | 40 * Create a complement of the input set. The returned {@link ScoredDocIDs} 44 * Note: the complement set does NOT contain doc ids which are noted as deleted by the given reader 64 // Remove all Deletions from the complement set 71 * Clear all deleted documents from a given open-bit-set according to a given reader 74 final OpenBitSet set) throws IOException { 81 DocIdSetIterator it = set.iterator(); 85 set.fastClear(doc); 93 * @param allDocIds orginal set 175 * The returned set contains the range of [0 .. reader.maxDoc ) doc ids 73 clearDeleted(final IndexReader reader, final OpenBitSet set) argument
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/collections/ |
H A D | IntArray.java | 64 * @param set 68 public void intersect(IntHashSet set) { argument 71 if (set.contains(data[i])) { 134 * values actually set. 223 public void set(int idx, int value) { method in class:IntArray 243 * Clear the IntArray (set all elements to zero).
|
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/ |
H A D | QueryNode.java | 89 public void set(List<QueryNode> children); method in interface:QueryNode
|
H A D | QueryNodeImpl.java | 89 public final void set(List<QueryNode> children) { method in class:QueryNodeImpl 111 // add new children and set parent 222 * If set to true the the method toQueryString will not write field names
|
/lucene-3.6.0/lucene/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/ |
H A D | Point2D.java | 85 public void set(double x, double y) { method in class:Point2D 95 public void set(Point2D p1) { method in class:Point2D 105 public void set(Vector2D v) { method in class:Point2D
|
H A D | Vector2D.java | 89 public void set(double x, double y) { method in class:Vector2D
|
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/utils/ |
H A D | StringBuilderReader.java | 63 set(sb); 157 public void set(StringBuilder sb) { method in class:StringBuilderReader
|
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/params/ |
H A D | ModifiableSolrParams.java | 30 * parameters after it is initialized. It has helper functions to set/add 66 public ModifiableSolrParams set( String name, String ... val ) { method in class:ModifiableSolrParams 75 public ModifiableSolrParams set( String name, int val ) { method in class:ModifiableSolrParams 76 set( name, String.valueOf(val) ); 80 public ModifiableSolrParams set( String name, boolean val ) { method in class:ModifiableSolrParams 81 set( name, String.valueOf(val) ); 117 set(name, params.getParams(name)); 152 set(name, tmp2);
|
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/processors/ |
H A D | QueryNodeProcessorPipeline.java | 39 * When a {@link QueryConfigHandler} object is set on a 69 * @return QueryConfigHandler the query configuration handler to be set. 120 * @param queryConfigHandler the query configuration handler to be set. 284 * @see List#set(int, Object) 286 public QueryNodeProcessor set(int index, QueryNodeProcessor processor) { method in class:QueryNodeProcessorPipeline 287 QueryNodeProcessor oldProcessor = this.processors.set(index, processor);
|