net.sf.derquinse.lucis
Class Item<T>

java.lang.Object
  extended by net.sf.derquinse.lucis.Result
      extended by net.sf.derquinse.lucis.Item<T>
All Implemented Interfaces:
java.io.Serializable

public class Item<T>
extends Result

Result representing a single item.

Author:
Andres Rodriguez
See Also:
Serialized Form

Constructor Summary
Item(int totalHits, float maxScore, long time, T item)
           
 
Method Summary
static
<T> Item<T>
empty()
          Returns the empty item.
 T getItem()
           
 
Methods inherited from class net.sf.derquinse.lucis.Result
getMaxScore, getTime, getTotalHits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Item

public Item(int totalHits,
            float maxScore,
            long time,
            T item)
Method Detail

empty

public static <T> Item<T> empty()
Returns the empty item.

Type Parameters:
T - Item type.
Returns:
The empty item.

getItem

public T getItem()


Copyright © 2010. All Rights Reserved.