public static <T> LinkedHashSet<T> consumeToLinkedHashSet(IterableCursor<T> cursor) {
        return consumeToCollection(cursor, new LinkedHashSet<T>(cursor.getCount()));
    }
public static < T > LinkedHashSet < T > consumeToLinkedHashSet ( IterableCursor < T > cursor ) { return consumeToCollection ( cursor , new LinkedHashSet < T > ( cursor . getCount ( ) ) ) ; }
Returns an {@link java.util.LinkedHashSet} of the {@link android.database.Cursor} and closes
it.