Package com.google.gwt.view.client
Class SimpleKeyProvider<T>
- java.lang.Object
-
- com.google.gwt.view.client.SimpleKeyProvider<T>
-
- Type Parameters:
T
- the data type of records
- All Implemented Interfaces:
ProvidesKey<T>
public class SimpleKeyProvider<T> extends java.lang.Object implements ProvidesKey<T>
Simple passthrough implementation ofProvidesKey
.
-
-
Constructor Summary
Constructors Constructor Description SimpleKeyProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getKey(T item)
Return the passed-in item.
-
-
-
Method Detail
-
getKey
public java.lang.Object getKey(T item)
Return the passed-in item.- Specified by:
getKey
in interfaceProvidesKey<T>
- Parameters:
item
- the list item- Returns:
- the key that represents the item
-
-