All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.marvinlabs.widget.floatinglabel.itemchooser.ItemPrinter Maven / Gradle / Ivy

The newest version!
package com.marvinlabs.widget.floatinglabel.itemchooser;

/**
 * Created by Vincent Mimoun-Prat @ MarvinLabs, 29/08/2014.
 */
public interface ItemPrinter {

    public String print(ItemT item);


    public static class ToStringItemPrinter implements ItemPrinter {
        public String print(ItemT item) {
            return item==null ? "" : item.toString();
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy