Tabnine Logo
TypedEntry
Code IndexAdd Tabnine to your IDE (free)

How to use
TypedEntry
in
play.libs.typedmap

Best Java code snippets using play.libs.typedmap.TypedEntry (Showing top 6 results out of 315)

origin: com.typesafe.play/play_2.12

/**
 * Bind this key to a value.
 *
 * @param value The value to bind this key to.
 * @return A bound value.
 */
public TypedEntry<A> bindValue(A value) {
  return new TypedEntry<A>(this, value);
}
origin: com.typesafe.play/play_2.12

/**
 * Update the map with several entries, returning a new instance of the map.
 *
 * @param entries The new entries to add to the map.
 * @return A new instance of the map with the new entries added.
 */
public TypedMap putAll(TypedEntry<?>... entries) {
  play.api.libs.typedmap.TypedMap newUnderlying = underlying;
  for (TypedEntry<?> e : entries) {
    newUnderlying = newUnderlying.updated(((TypedKey<Object>) e.key()).asScala(), e.value());
  }
  return new TypedMap(newUnderlying);
}
origin: com.typesafe.play/play

/**
 * Update the map with several entries, returning a new instance of the map.
 *
 * @param entries The new entries to add to the map.
 * @return A new instance of the map with the new entries added.
 */
public TypedMap putAll(TypedEntry<?>... entries) {
  play.api.libs.typedmap.TypedMap newUnderlying = underlying;
  for (TypedEntry<?> e : entries) {
    newUnderlying = newUnderlying.updated(((TypedKey<Object>) e.key()).asScala(), e.value());
  }
  return new TypedMap(newUnderlying);
}
origin: com.typesafe.play/play_2.11

/**
 * Update the map with several entries, returning a new instance of the map.
 *
 * @param entries The new entries to add to the map.
 * @return A new instance of the map with the new entries added.
 */
public TypedMap putAll(TypedEntry<?>... entries) {
  play.api.libs.typedmap.TypedMap newUnderlying = underlying;
  for (TypedEntry<?> e : entries) {
    newUnderlying = newUnderlying.updated(((TypedKey<Object>) e.key()).asScala(), e.value());
  }
  return new TypedMap(newUnderlying);
}
origin: com.typesafe.play/play

/**
 * Bind this key to a value.
 *
 * @param value The value to bind this key to.
 * @return A bound value.
 */
public TypedEntry<A> bindValue(A value) {
  return new TypedEntry<A>(this, value);
}
origin: com.typesafe.play/play_2.11

/**
 * Bind this key to a value.
 *
 * @param value The value to bind this key to.
 * @return A bound value.
 */
public TypedEntry<A> bindValue(A value) {
  return new TypedEntry<A>(this, value);
}
play.libs.typedmapTypedEntry

Javadoc

An entry that binds a typed key and a value. These entries can be placed into a TypedMap or any other type of object with typed values.

Most used methods

  • <init>
  • key
  • value

Popular in Java

  • Reactive rest calls using spring rest template
  • getApplicationContext (Context)
  • getSystemService (Context)
  • setScale (BigDecimal)
  • Permission (java.security)
    Legacy security code; do not use.
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Reference (javax.naming)
  • JFrame (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Best plugins for Eclipse
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