Tabnine Logo
SMFAttributeName.builder
Code IndexAdd Tabnine to your IDE (free)

How to use
builder
method
in
com.io7m.smfj.core.SMFAttributeName

Best Java code snippets using com.io7m.smfj.core.SMFAttributeName.builder (Showing top 2 results out of 315)

origin: com.io7m.smfj/com.io7m.smfj.core

/**
 * Creates an immutable copy of a {@link SMFAttributeNameType} value.
 * Uses accessors to get values to initialize the new immutable instance.
 * If an instance is already immutable, it is returned as is.
 * @param instance The instance to copy
 * @return A copied immutable SMFAttributeName instance
 */
public static SMFAttributeName copyOf(SMFAttributeNameType instance) {
 if (instance instanceof SMFAttributeName) {
  return (SMFAttributeName) instance;
 }
 return SMFAttributeName.builder()
   .from(instance)
   .build();
}
origin: com.io7m.smfj/io7m-smfj-core

/**
 * Creates an immutable copy of a {@link SMFAttributeNameType} value.
 * Uses accessors to get values to initialize the new immutable instance.
 * If an instance is already immutable, it is returned as is.
 * @param instance The instance to copy
 * @return A copied immutable SMFAttributeName instance
 */
public static SMFAttributeName copyOf(SMFAttributeNameType instance) {
 if (instance instanceof SMFAttributeName) {
  return (SMFAttributeName) instance;
 }
 return SMFAttributeName.builder()
   .from(instance)
   .build();
}
com.io7m.smfj.coreSMFAttributeNamebuilder

Javadoc

Creates a builder for SMFAttributeName.

Popular methods of SMFAttributeName

  • value
  • equals
    This instance is equal to all instances of SMFAttributeName that have equal attribute values.
  • hashCode
    Computes a hash code from attributes: value.
  • of
    Construct a new immutable SMFAttributeName instance.
  • <init>
  • checkPreconditions
  • equalTo
  • validate

Popular in Java

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • startActivity (Activity)
  • getResourceAsStream (ClassLoader)
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • 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