Tabnine Logo
ByteVector.putLong
Code IndexAdd Tabnine to your IDE (free)

How to use
putLong
method
in
jersey.repackaged.org.objectweb.asm.ByteVector

Best Java code snippets using jersey.repackaged.org.objectweb.asm.ByteVector.putLong (Showing top 14 results out of 315)

origin: com.sun.jersey/jersey-server

/**
 * Adds a long to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value
 *            the long value.
 * @return a new or already existing long item.
 */
Item newLong(final long value) {
  key.set(value);
  Item result = get(key);
  if (result == null) {
    pool.putByte(LONG).putLong(value);
    result = new Item(index, key);
    index += 2;
    put(result);
  }
  return result;
}
origin: com.sun.jersey/jersey-server

/**
 * Adds a double to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value
 *            the double value.
 * @return a new or already existing double item.
 */
Item newDouble(final double value) {
  key.set(value);
  Item result = get(key);
  if (result == null) {
    pool.putByte(DOUBLE).putLong(key.longVal);
    result = new Item(index, key);
    index += 2;
    put(result);
  }
  return result;
}
origin: org.glassfish.jersey.core/jersey-server

/**
 * Adds a long to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value
 *            the long value.
 * @return a new or already existing long item.
 */
Item newLong(final long value) {
  key.set(value);
  Item result = get(key);
  if (result == null) {
    pool.putByte(LONG).putLong(value);
    result = new Item(index, key);
    index += 2;
    put(result);
  }
  return result;
}
origin: org.glassfish.jersey.core/jersey-server

/**
 * Adds a double to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value
 *            the double value.
 * @return a new or already existing double item.
 */
Item newDouble(final double value) {
  key.set(value);
  Item result = get(key);
  if (result == null) {
    pool.putByte(DOUBLE).putLong(key.longVal);
    result = new Item(index, key);
    index += 2;
    put(result);
  }
  return result;
}
origin: eclipse-ee4j/jersey

/**
 * Adds a double to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value
 *            the double value.
 * @return a new or already existing double item.
 */
Item newDouble(final double value) {
  key.set(value);
  Item result = get(key);
  if (result == null) {
    pool.putByte(DOUBLE).putLong(key.longVal);
    result = new Item(index, key);
    index += 2;
    put(result);
  }
  return result;
}
origin: com.sun.jersey/jersey-bundle

/**
 * Adds a long to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value
 *            the long value.
 * @return a new or already existing long item.
 */
Item newLong(final long value) {
  key.set(value);
  Item result = get(key);
  if (result == null) {
    pool.putByte(LONG).putLong(value);
    result = new Item(index, key);
    index += 2;
    put(result);
  }
  return result;
}
origin: eclipse-ee4j/jersey

/**
 * Adds a long to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value
 *            the long value.
 * @return a new or already existing long item.
 */
Item newLong(final long value) {
  key.set(value);
  Item result = get(key);
  if (result == null) {
    pool.putByte(LONG).putLong(value);
    result = new Item(index, key);
    index += 2;
    put(result);
  }
  return result;
}
origin: org.glassfish.jersey.bundles/jaxrs-ri

/**
 * Adds a double to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value
 *            the double value.
 * @return a new or already existing double item.
 */
Item newDouble(final double value) {
  key.set(value);
  Item result = get(key);
  if (result == null) {
    pool.putByte(DOUBLE).putLong(key.longVal);
    result = new Item(index, key);
    index += 2;
    put(result);
  }
  return result;
}
origin: jersey/jersey-1.x

/**
 * Adds a long to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value
 *            the long value.
 * @return a new or already existing long item.
 */
Item newLong(final long value) {
  key.set(value);
  Item result = get(key);
  if (result == null) {
    pool.putByte(LONG).putLong(value);
    result = new Item(index, key);
    index += 2;
    put(result);
  }
  return result;
}
origin: com.sun.jersey/jersey-bundle

/**
 * Adds a double to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value
 *            the double value.
 * @return a new or already existing double item.
 */
Item newDouble(final double value) {
  key.set(value);
  Item result = get(key);
  if (result == null) {
    pool.putByte(DOUBLE).putLong(key.longVal);
    result = new Item(index, key);
    index += 2;
    put(result);
  }
  return result;
}
origin: org.glassfish.jersey.bundles/jaxrs-ri

/**
 * Adds a long to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value
 *            the long value.
 * @return a new or already existing long item.
 */
Item newLong(final long value) {
  key.set(value);
  Item result = get(key);
  if (result == null) {
    pool.putByte(LONG).putLong(value);
    result = new Item(index, key);
    index += 2;
    put(result);
  }
  return result;
}
origin: eclipse-ee4j/jersey

/**
 * Adds a double to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value
 *            the double value.
 * @return a new or already existing double item.
 */
Item newDouble(final double value) {
  key.set(value);
  Item result = get(key);
  if (result == null) {
    pool.putByte(DOUBLE).putLong(key.longVal);
    result = new Item(index, key);
    index += 2;
    put(result);
  }
  return result;
}
origin: eclipse-ee4j/jersey

/**
 * Adds a long to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value
 *            the long value.
 * @return a new or already existing long item.
 */
Item newLong(final long value) {
  key.set(value);
  Item result = get(key);
  if (result == null) {
    pool.putByte(LONG).putLong(value);
    result = new Item(index, key);
    index += 2;
    put(result);
  }
  return result;
}
origin: jersey/jersey-1.x

/**
 * Adds a double to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value
 *            the double value.
 * @return a new or already existing double item.
 */
Item newDouble(final double value) {
  key.set(value);
  Item result = get(key);
  if (result == null) {
    pool.putByte(DOUBLE).putLong(key.longVal);
    result = new Item(index, key);
    index += 2;
    put(result);
  }
  return result;
}
jersey.repackaged.org.objectweb.asmByteVectorputLong

Javadoc

Puts a long into this byte vector. The byte vector is automatically enlarged if necessary.

Popular methods of ByteVector

  • <init>
    Constructs a new ByteVector with the given initial size.
  • encodeUTF8
    Puts an UTF8 string into this byte vector. The byte vector is automatically enlarged if necessary. T
  • enlarge
    Enlarge this byte vector so that it can receive n more bytes.
  • put11
    Puts two bytes into this byte vector. The byte vector is automatically enlarged if necessary.
  • put12
    Puts a byte and a short into this byte vector. The byte vector is automatically enlarged if necessar
  • putByte
    Puts a byte into this byte vector. The byte vector is automatically enlarged if necessary.
  • putByteArray
    Puts an array of bytes into this byte vector. The byte vector is automatically enlarged if necessary
  • putInt
    Puts an int into this byte vector. The byte vector is automatically enlarged if necessary.
  • putShort
    Puts a short into this byte vector. The byte vector is automatically enlarged if necessary.
  • putUTF8
    Puts an UTF8 string into this byte vector. The byte vector is automatically enlarged if necessary.
  • addElement
  • toArray
  • addElement,
  • toArray

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • CodeWhisperer alternatives
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