Tabnine Logo
BooleanList.set
Code IndexAdd Tabnine to your IDE (free)

How to use
set
method
in
it.unimi.dsi.fastutil.booleans.BooleanList

Best Java code snippets using it.unimi.dsi.fastutil.booleans.BooleanList.set (Showing top 8 results out of 315)

origin: it.unimi.dsi/fastutil

@Override
public boolean set(final int i, final boolean k) {
  synchronized (sync) {
    return list.set(i, k);
  }
}
@Override
origin: it.unimi.dsi/fastutil

/**
 * {@inheritDoc}
 * 
 * @deprecated Please use the corresponding type-specific method instead.
 */
@Deprecated
@Override
public Boolean set(final int index, Boolean k) {
  synchronized (sync) {
    return list.set(index, k);
  }
}
/**
origin: it.unimi.dsi/fastutil

  /**
   * {@inheritDoc}
   * 
   * @deprecated Please use the corresponding type-specific method instead.
   */
  @Deprecated
  @Override
  default Boolean set(int index, Boolean k) {
    return Boolean.valueOf(set(index, (k).booleanValue()));
  }
}
origin: it.unimi.dsi/fastutil

@Override
public boolean set(final int index, final boolean k) {
  ensureRestrictedIndex(index);
  return l.set(from + index, k);
}
@Override
origin: it.unimi.dsi/fastutil

@Override
public boolean set(long index, boolean k) {
  return list.set(intIndex(index), k);
}
@Override
origin: blazegraph/database

public boolean set( final long index, final boolean value ) {
  ensureIntegerIndex( index );
  return list.set( (int)index, value );
}

origin: com.blazegraph/dsi-utils

public boolean set( final long index, final boolean value ) {
  ensureIntegerIndex( index );
  return list.set( (int)index, value );
}

origin: it.unimi.dsi/fastutil

/**
 * Shuffles the specified list using the specified pseudorandom number
 * generator.
 *
 * @param l
 *            the list to be shuffled.
 * @param random
 *            a pseudorandom number generator.
 * @return {@code l}.
 */
public static BooleanList shuffle(final BooleanList l, final Random random) {
  for (int i = l.size(); i-- != 0;) {
    final int p = random.nextInt(i + 1);
    final boolean t = l.getBoolean(i);
    l.set(i, l.getBoolean(p));
    l.set(p, t);
  }
  return l;
}
/**
it.unimi.dsi.fastutil.booleansBooleanListset

Popular methods of BooleanList

  • add
  • size
    Sets the size of this list. If the specified size is smaller than the current size, the last element
  • getBoolean
    Returns the element at the specified position in this list.
  • addAll
  • toBooleanArray
  • removeBoolean
    Removes the element at the specified position in this list (optional operation).
  • subList
  • addElements
    Add (hopefully quickly) elements to this type-specific list.
  • clear
  • compareTo
  • contains
  • containsAll
  • contains,
  • containsAll,
  • get,
  • getElements,
  • indexOf,
  • isEmpty,
  • iterator,
  • lastIndexOf,
  • listIterator

Popular in Java

  • Parsing JSON documents to java classes using gson
  • runOnUiThread (Activity)
  • onRequestPermissionsResult (Fragment)
  • setContentView (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top plugins for Android Studio
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