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 Object implements ProvidesKey<T>
Simple passthrough implementation of ProvidesKey.
  • Constructor Details

    • SimpleKeyProvider

      public SimpleKeyProvider()
  • Method Details

    • getKey

      public Object getKey(T item)
      Return the passed-in item.
      Specified by:
      getKey in interface ProvidesKey<T>
      Parameters:
      item - the list item
      Returns:
      the key that represents the item