Tabnine Logo
Tables$TransformedTable.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.google.common.collect.Tables$TransformedTable
constructor

Best Java code snippets using com.google.common.collect.Tables$TransformedTable.<init> (Showing top 14 results out of 315)

origin: google/guava

/**
 * Returns a view of a table where each value is transformed by a function. All other properties
 * of the table, such as iteration order, are left intact.
 *
 * <p>Changes in the underlying table are reflected in this view. Conversely, this view supports
 * removal operations, and these are reflected in the underlying table.
 *
 * <p>It's acceptable for the underlying table to contain null keys, and even null values provided
 * that the function is capable of accepting null input. The transformed table might contain null
 * values, if the function sometimes gives a null result.
 *
 * <p>The returned table is not thread-safe or serializable, even if the underlying table is.
 *
 * <p>The function is applied lazily, invoked when needed. This is necessary for the returned
 * table to be a view, but it means that the function will be applied many times for bulk
 * operations like {@link Table#containsValue} and {@code Table.toString()}. For this to perform
 * well, {@code function} should be fast. To avoid lazy evaluation when the returned table doesn't
 * need to be a view, copy the returned table into a new table of your choosing.
 *
 * @since 10.0
 */
@Beta
public static <R, C, V1, V2> Table<R, C, V2> transformValues(
  Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
 return new TransformedTable<>(fromTable, function);
}
origin: google/j2objc

/**
 * Returns a view of a table where each value is transformed by a function. All other properties
 * of the table, such as iteration order, are left intact.
 *
 * <p>Changes in the underlying table are reflected in this view. Conversely, this view supports
 * removal operations, and these are reflected in the underlying table.
 *
 * <p>It's acceptable for the underlying table to contain null keys, and even null values provided
 * that the function is capable of accepting null input. The transformed table might contain null
 * values, if the function sometimes gives a null result.
 *
 * <p>The returned table is not thread-safe or serializable, even if the underlying table is.
 *
 * <p>The function is applied lazily, invoked when needed. This is necessary for the returned
 * table to be a view, but it means that the function will be applied many times for bulk
 * operations like {@link Table#containsValue} and {@code Table.toString()}. For this to perform
 * well, {@code function} should be fast. To avoid lazy evaluation when the returned table doesn't
 * need to be a view, copy the returned table into a new table of your choosing.
 *
 * @since 10.0
 */
@Beta
public static <R, C, V1, V2> Table<R, C, V2> transformValues(
  Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
 return new TransformedTable<>(fromTable, function);
}
origin: wildfly/wildfly

/**
 * Returns a view of a table where each value is transformed by a function. All other properties
 * of the table, such as iteration order, are left intact.
 *
 * <p>Changes in the underlying table are reflected in this view. Conversely, this view supports
 * removal operations, and these are reflected in the underlying table.
 *
 * <p>It's acceptable for the underlying table to contain null keys, and even null values provided
 * that the function is capable of accepting null input. The transformed table might contain null
 * values, if the function sometimes gives a null result.
 *
 * <p>The returned table is not thread-safe or serializable, even if the underlying table is.
 *
 * <p>The function is applied lazily, invoked when needed. This is necessary for the returned
 * table to be a view, but it means that the function will be applied many times for bulk
 * operations like {@link Table#containsValue} and {@code Table.toString()}. For this to perform
 * well, {@code function} should be fast. To avoid lazy evaluation when the returned table doesn't
 * need to be a view, copy the returned table into a new table of your choosing.
 *
 * @since 10.0
 */
@Beta
public static <R, C, V1, V2> Table<R, C, V2> transformValues(
  Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
 return new TransformedTable<>(fromTable, function);
}
origin: Nextdoor/bender

public static <R, C, V1, V2> Table<R, C, V2> transformValues(
  Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
 return new TransformedTable<R, C, V1, V2>(fromTable, function);
origin: com.ning.billing/killbill-osgi-bundles-jruby

public static <R, C, V1, V2> Table<R, C, V2> transformValues(
  Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
 return new TransformedTable<R, C, V1, V2>(fromTable, function);
origin: org.sonatype.sisu/sisu-guava

/**
 * Returns a view of a table where each value is transformed by a function.
 * All other properties of the table, such as iteration order, are left
 * intact.
 *
 * <p>Changes in the underlying table are reflected in this view. Conversely,
 * this view supports removal operations, and these are reflected in the
 * underlying table.
 *
 * <p>It's acceptable for the underlying table to contain null keys, and even
 * null values provided that the function is capable of accepting null input.
 * The transformed table might contain null values, if the function sometimes
 * gives a null result.
 *
 * <p>The returned table is not thread-safe or serializable, even if the
 * underlying table is.
 *
 * <p>The function is applied lazily, invoked when needed. This is necessary
 * for the returned table to be a view, but it means that the function will be
 * applied many times for bulk operations like {@link Table#containsValue} and
 * {@code Table.toString()}. For this to perform well, {@code function} should
 * be fast. To avoid lazy evaluation when the returned table doesn't need to
 * be a view, copy the returned table into a new table of your choosing.
 *
 * @since 10.0
 */
public static <R, C, V1, V2> Table<R, C, V2> transformValues(
  Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
 return new TransformedTable<R, C, V1, V2>(fromTable, function);
}
origin: org.hudsonci.lib.guava/guava

public static <R, C, V1, V2> Table<R, C, V2> transformValues(
  Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
 return new TransformedTable<R, C, V1, V2>(fromTable, function);
origin: at.bestsolution.efxclipse.eclipse/com.google.guava

public static <R, C, V1, V2> Table<R, C, V2> transformValues(
  Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
 return new TransformedTable<R, C, V1, V2>(fromTable, function);
origin: com.google.guava/guava-jdk5

public static <R, C, V1, V2> Table<R, C, V2> transformValues(
  Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
 return new TransformedTable<R, C, V1, V2>(fromTable, function);
origin: com.ning.billing/killbill-osgi-bundles-analytics

public static <R, C, V1, V2> Table<R, C, V2> transformValues(
  Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
 return new TransformedTable<R, C, V1, V2>(fromTable, function);
origin: com.diffplug.guava/guava-collect

public static <R, C, V1, V2> Table<R, C, V2> transformValues(
    Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
  return new TransformedTable<R, C, V1, V2>(fromTable, function);
origin: org.jboss.eap/wildfly-client-all

/**
 * Returns a view of a table where each value is transformed by a function. All other properties
 * of the table, such as iteration order, are left intact.
 *
 * <p>Changes in the underlying table are reflected in this view. Conversely, this view supports
 * removal operations, and these are reflected in the underlying table.
 *
 * <p>It's acceptable for the underlying table to contain null keys, and even null values provided
 * that the function is capable of accepting null input. The transformed table might contain null
 * values, if the function sometimes gives a null result.
 *
 * <p>The returned table is not thread-safe or serializable, even if the underlying table is.
 *
 * <p>The function is applied lazily, invoked when needed. This is necessary for the returned
 * table to be a view, but it means that the function will be applied many times for bulk
 * operations like {@link Table#containsValue} and {@code Table.toString()}. For this to perform
 * well, {@code function} should be fast. To avoid lazy evaluation when the returned table doesn't
 * need to be a view, copy the returned table into a new table of your choosing.
 *
 * @since 10.0
 */
@Beta
public static <R, C, V1, V2> Table<R, C, V2> transformValues(
  Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
 return new TransformedTable<>(fromTable, function);
}
origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

public static <R, C, V1, V2> Table<R, C, V2> transformValues(
  Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
 return new TransformedTable<R, C, V1, V2>(fromTable, function);
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

/**
 * Returns a view of a table where each value is transformed by a function. All other properties
 * of the table, such as iteration order, are left intact.
 *
 * <p>Changes in the underlying table are reflected in this view. Conversely, this view supports
 * removal operations, and these are reflected in the underlying table.
 *
 * <p>It's acceptable for the underlying table to contain null keys, and even null values provided
 * that the function is capable of accepting null input. The transformed table might contain null
 * values, if the function sometimes gives a null result.
 *
 * <p>The returned table is not thread-safe or serializable, even if the underlying table is.
 *
 * <p>The function is applied lazily, invoked when needed. This is necessary for the returned
 * table to be a view, but it means that the function will be applied many times for bulk
 * operations like {@link Table#containsValue} and {@code Table.toString()}. For this to perform
 * well, {@code function} should be fast. To avoid lazy evaluation when the returned table doesn't
 * need to be a view, copy the returned table into a new table of your choosing.
 *
 * @since 10.0
 */
@Beta
public static <R, C, V1, V2> Table<R, C, V2> transformValues(
  Table<R, C, V1> fromTable, Function<? super V1, V2> function) {
 return new TransformedTable<>(fromTable, function);
}
com.google.common.collectTables$TransformedTable<init>

Popular methods of Tables$TransformedTable

  • contains
  • cellFunction
  • cellSet
  • createColumnMap
  • createRowMap
  • rowMap
  • values

Popular in Java

  • Reading from database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now