net.sf.derquinse.lucis
Class Item<T>
java.lang.Object
net.sf.derquinse.lucis.Result
net.sf.derquinse.lucis.Item<T>
- All Implemented Interfaces:
- 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
|
empty()
Returns the empty item. |
T |
getItem()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Item
public Item(int totalHits,
float maxScore,
long time,
T item)
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 © 2011. All Rights Reserved.