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

How to use
FastBooleanBuffer
in
jodd.util.buffer

Best Java code snippets using jodd.util.buffer.FastBooleanBuffer (Showing top 8 results out of 315)

origin: redisson/redisson

/**
 * Appends <code>boolean</code> array to buffer.
 */
public FastBooleanBuffer append(boolean[] array) {
  return append(array, 0, array.length);
}
origin: redisson/redisson

/**
 * Appends single <code>boolean</code> to buffer.
 */
public FastBooleanBuffer append(boolean element) {
  if ((currentBuffer == null) || (offset == currentBuffer.length)) {
    needNewBuffer(size + 1);
  }
  currentBuffer[offset] = element;
  offset++;
  size++;
  return this;
}
origin: redisson/redisson

/**
 * Appends another fast buffer to this one.
 */
public FastBooleanBuffer append(FastBooleanBuffer buff) {
  if (buff.size == 0) {
    return this;
  }
  for (int i = 0; i < buff.currentBufferIndex; i++) {
    append(buff.buffers[i]);
  }
  append(buff.currentBuffer, 0, buff.offset);
  return this;
}
origin: redisson/redisson

needNewBuffer(newSize);
origin: fivesmallq/web-data-extractor

/**
 * Appends <code>boolean</code> array to buffer.
 */
public FastBooleanBuffer append(boolean[] array) {
  return append(array, 0, array.length);
}
origin: fivesmallq/web-data-extractor

/**
 * Appends single <code>boolean</code> to buffer.
 */
public FastBooleanBuffer append(boolean element) {
  if ((currentBuffer == null) || (offset == currentBuffer.length)) {
    needNewBuffer(size + 1);
  }
  currentBuffer[offset] = element;
  offset++;
  size++;
  return this;
}
origin: fivesmallq/web-data-extractor

/**
 * Appends another fast buffer to this one.
 */
public FastBooleanBuffer append(FastBooleanBuffer buff) {
  if (buff.size == 0) {
    return this;
  }
  for (int i = 0; i < buff.currentBufferIndex; i++) {
    append(buff.buffers[i]);
  }
  append(buff.currentBuffer, 0, buff.offset);
  return this;
}
origin: fivesmallq/web-data-extractor

needNewBuffer(newSize);
jodd.util.bufferFastBooleanBuffer

Javadoc

Fast, fast boolean buffer. This buffer implementation does not store all data in single array, but in array of chunks.

Most used methods

  • append
    Appends boolean array to buffer.
  • needNewBuffer
    Prepares next chunk to match new size. The minimal length of new chunk is minChunkLen.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (Timer)
  • getSharedPreferences (Context)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • String (java.lang)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top PhpStorm 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