congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AbstractMethodError
Code IndexAdd Tabnine to your IDE (free)

How to use
AbstractMethodError
in
java.lang

Best Java code snippets using java.lang.AbstractMethodError (Showing top 20 results out of 909)

origin: jenkinsci/jenkins

/**
 * Equivalent to {@code NANOSECONDS.convert(duration, this)}.
 * @param duration the duration
 * @return the converted duration,
 * or {@code Long.MIN_VALUE} if conversion would negatively
 * overflow, or {@code Long.MAX_VALUE} if it would positively overflow.
 * @see #convert
 */
public long toNanos(long duration) {
  throw new AbstractMethodError();
}
origin: mikepenz/FastAdapter

/**
 * is called in onViewAttachedToWindow when the view is detached from the window
 *
 * @param viewHolder the viewHolder for the type at this position
 * @param position   the position of this viewHolder
 */
@Override
public void onViewAttachedToWindow(RecyclerView.ViewHolder viewHolder, int position) {
  IItem item = FastAdapter.getHolderAdapterItem(viewHolder, position);
  if (item != null) {
    try {
      item.attachToWindow(viewHolder);
      if (viewHolder instanceof FastAdapter.ViewHolder) {
        ((FastAdapter.ViewHolder) viewHolder).attachToWindow(item);
      }
    } catch (AbstractMethodError e) {
      Log.e("FastAdapter", e.toString());
    }
  }
}
origin: jenkinsci/jenkins

  sn = strategy.getShortName(arc);
} catch (AbstractMethodError x) {
  LOGGER.log(WARNING, "JENKINS-12753 fix not active: {0}", x.getMessage());
  p = strategy.createPluginWrapper(arc);
  sn = p.getShortName();
origin: jenkinsci/jenkins

/**
 * Equivalent to {@code HOURS.convert(duration, this)}.
 * @param duration the duration
 * @return the converted duration,
 * or {@code Long.MIN_VALUE} if conversion would negatively
 * overflow, or {@code Long.MAX_VALUE} if it would positively overflow.
 * @see #convert
 */
public long toHours(long duration) {
  throw new AbstractMethodError();
}
origin: jenkinsci/jenkins

/**
 * Equivalent to {@code MILLISECONDS.convert(duration, this)}.
 * @param duration the duration
 * @return the converted duration,
 * or {@code Long.MIN_VALUE} if conversion would negatively
 * overflow, or {@code Long.MAX_VALUE} if it would positively overflow.
 * @see #convert
 */
public long toMillis(long duration) {
  throw new AbstractMethodError();
}
origin: jenkinsci/jenkins

/**
 * Equivalent to {@code MINUTES.convert(duration, this)}.
 * @param duration the duration
 * @return the converted duration,
 * or {@code Long.MIN_VALUE} if conversion would negatively
 * overflow, or {@code Long.MAX_VALUE} if it would positively overflow.
 * @see #convert
 */
public long toMinutes(long duration) {
  throw new AbstractMethodError();
}
origin: jenkinsci/jenkins

/**
 * Equivalent to {@code DAYS.convert(duration, this)}.
 * @param duration the duration
 * @return the converted duration
 * @see #convert
 */
public long toDays(long duration) {
  throw new AbstractMethodError();
}
origin: jenkinsci/jenkins

/**
 * Equivalent to {@code MICROSECONDS.convert(duration, this)}.
 * @param duration the duration
 * @return the converted duration,
 * or {@code Long.MIN_VALUE} if conversion would negatively
 * overflow, or {@code Long.MAX_VALUE} if it would positively overflow.
 * @see #convert
 */
public long toMicros(long duration) {
  throw new AbstractMethodError();
}
origin: jenkinsci/jenkins

/**
 * Equivalent to {@code SECONDS.convert(duration, this)}.
 * @param duration the duration
 * @return the converted duration,
 * or {@code Long.MIN_VALUE} if conversion would negatively
 * overflow, or {@code Long.MAX_VALUE} if it would positively overflow.
 * @see #convert
 */
public long toSeconds(long duration) {
  throw new AbstractMethodError();
}
origin: jenkinsci/jenkins

/**
 * Convert the given time duration in the given unit to this
 * unit.  Conversions from finer to coarser granularities
 * truncate, so lose precision. For example converting
 * {@code 999} milliseconds to seconds results in
 * {@code 0}. Conversions from coarser to finer granularities
 * with arguments that would numerically overflow saturate to
 * {@code Long.MIN_VALUE} if negative or {@code Long.MAX_VALUE}
 * if positive.
 *
 * <p>For example, to convert 10 minutes to milliseconds, use:
 * {@code TimeUnit.MILLISECONDS.convert(10L, TimeUnit.MINUTES)}
 *
 * @param sourceDuration the time duration in the given {@code sourceUnit}
 * @param sourceUnit the unit of the {@code sourceDuration} argument
 * @return the converted duration in this unit,
 * or {@code Long.MIN_VALUE} if conversion would negatively
 * overflow, or {@code Long.MAX_VALUE} if it would positively overflow.
 */
public long convert(long sourceDuration, TimeUnit2 sourceUnit) {
  throw new AbstractMethodError();
}
origin: jenkinsci/jenkins

/**
 * Convert the given time duration in the given unit to this
 * unit.  Conversions from finer to coarser granularities
 * truncate, so lose precision. For example converting
 * {@code 999} milliseconds to seconds results in
 * {@code 0}. Conversions from coarser to finer granularities
 * with arguments that would numerically overflow saturate to
 * {@code Long.MIN_VALUE} if negative or {@code Long.MAX_VALUE}
 * if positive.
 *
 * <p>For example, to convert 10 minutes to milliseconds, use:
 * {@code TimeUnit.MILLISECONDS.convert(10L, TimeUnit.MINUTES)}
 *
 * @param sourceDuration the time duration in the given {@code sourceUnit}
 * @param sourceUnit the unit of the {@code sourceDuration} argument
 * @return the converted duration in this unit,
 * or {@code Long.MIN_VALUE} if conversion would negatively
 * overflow, or {@code Long.MAX_VALUE} if it would positively overflow.
 */
public long convert(long sourceDuration, TimeUnit sourceUnit) {
  throw new AbstractMethodError();
}
origin: robovm/robovm

/**
 * Equivalent to {@code MICROSECONDS.convert(duration, this)}.
 * @param duration the duration
 * @return the converted duration,
 * or {@code Long.MIN_VALUE} if conversion would negatively
 * overflow, or {@code Long.MAX_VALUE} if it would positively overflow.
 * @see #convert
 */
public long toMicros(long duration) {
  throw new AbstractMethodError();
}
origin: robovm/robovm

/**
 * Equivalent to {@code SECONDS.convert(duration, this)}.
 * @param duration the duration
 * @return the converted duration,
 * or {@code Long.MIN_VALUE} if conversion would negatively
 * overflow, or {@code Long.MAX_VALUE} if it would positively overflow.
 * @see #convert
 */
public long toSeconds(long duration) {
  throw new AbstractMethodError();
}
origin: robovm/robovm

/**
 * Equivalent to {@code NANOSECONDS.convert(duration, this)}.
 * @param duration the duration
 * @return the converted duration,
 * or {@code Long.MIN_VALUE} if conversion would negatively
 * overflow, or {@code Long.MAX_VALUE} if it would positively overflow.
 * @see #convert
 */
public long toNanos(long duration) {
  throw new AbstractMethodError();
}
origin: robovm/robovm

/**
 * Equivalent to {@code MINUTES.convert(duration, this)}.
 * @param duration the duration
 * @return the converted duration,
 * or {@code Long.MIN_VALUE} if conversion would negatively
 * overflow, or {@code Long.MAX_VALUE} if it would positively overflow.
 * @see #convert
 * @since 1.6
 */
public long toMinutes(long duration) {
  throw new AbstractMethodError();
}
origin: robovm/robovm

/**
 * Equivalent to {@code HOURS.convert(duration, this)}.
 * @param duration the duration
 * @return the converted duration,
 * or {@code Long.MIN_VALUE} if conversion would negatively
 * overflow, or {@code Long.MAX_VALUE} if it would positively overflow.
 * @see #convert
 * @since 1.6
 */
public long toHours(long duration) {
  throw new AbstractMethodError();
}
origin: robovm/robovm

/**
 * Equivalent to {@code MILLISECONDS.convert(duration, this)}.
 * @param duration the duration
 * @return the converted duration,
 * or {@code Long.MIN_VALUE} if conversion would negatively
 * overflow, or {@code Long.MAX_VALUE} if it would positively overflow.
 * @see #convert
 */
public long toMillis(long duration) {
  throw new AbstractMethodError();
}
origin: robovm/robovm

/**
 * Equivalent to {@code DAYS.convert(duration, this)}.
 * @param duration the duration
 * @return the converted duration
 * @see #convert
 * @since 1.6
 */
public long toDays(long duration) {
  throw new AbstractMethodError();
}
origin: apache/nifi

public double toB(double size) {
  throw new AbstractMethodError();
}
origin: apache/nifi

public double toTB(double size) {
  throw new AbstractMethodError();
}
java.langAbstractMethodError

Javadoc

Thrown by the VM when an abstract method is called.

Note that this can only occur when inconsistent class files have been loaded, since invoking an abstract method is a compile time error.

Most used methods

  • <init>
    Constructs an AbstractMethodError with the specified detail message.
  • getMessage
  • toString
  • getStackTrace

Popular in Java

  • Finding current android device location
  • notifyDataSetChanged (ArrayAdapter)
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • 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