congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
SMFAttributeName.validate
Code IndexAdd Tabnine to your IDE (free)

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

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

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

/**
 * Copy the current immutable object by setting a value for the {@link SMFAttributeNameType#value() value} attribute.
 * An equals check used to prevent copying of the same value by returning {@code this}.
 * @param value A new value for value
 * @return A modified copy of the {@code this} object
 */
public final SMFAttributeName withValue(String value) {
 if (this.value.equals(value)) return this;
 String newValue = Objects.requireNonNull(value, "value");
 return validate(new SMFAttributeName(this, newValue));
}
origin: com.io7m.smfj/com.io7m.smfj.core

/**
 * Copy the current immutable object by setting a value for the {@link SMFAttributeNameType#value() value} attribute.
 * An equals check used to prevent copying of the same value by returning {@code this}.
 * @param value A new value for value
 * @return A modified copy of the {@code this} object
 */
public final SMFAttributeName withValue(String value) {
 if (this.value.equals(value)) return this;
 String newValue = Objects.requireNonNull(value, "value");
 return validate(new SMFAttributeName(this, newValue));
}
origin: com.io7m.smfj/io7m-smfj-core

/**
 * Construct a new immutable {@code SMFAttributeName} instance.
 * @param value The value for the {@code value} attribute
 * @return An immutable SMFAttributeName instance
 */
public static SMFAttributeName of(String value) {
 return validate(new SMFAttributeName(value));
}
origin: com.io7m.smfj/com.io7m.smfj.core

/**
 * Construct a new immutable {@code SMFAttributeName} instance.
 * @param value The value for the {@code value} attribute
 * @return An immutable SMFAttributeName instance
 */
public static SMFAttributeName of(String value) {
 return validate(new SMFAttributeName(value));
}
com.io7m.smfj.coreSMFAttributeNamevalidate

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>
  • builder
    Creates a builder for SMFAttributeName.
  • checkPreconditions
  • equalTo

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSupportFragmentManager (FragmentActivity)
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • JFrame (javax.swing)
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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