Tabnine Logo
TIntList.reverse
Code IndexAdd Tabnine to your IDE (free)

How to use
reverse
method
in
gnu.trove.list.TIntList

Best Java code snippets using gnu.trove.list.TIntList.reverse (Showing top 20 results out of 315)

origin: alibaba/mdrill

public void reverse() {
  synchronized( mutex ) { list.reverse(); }
}
public void reverse( int from, int to ) {
origin: alibaba/mdrill

public void reverse( int from, int to ) {
  synchronized( mutex ) { list.reverse( from, to ); }
}
origin: CalebFenton/simplify

removeIndexes.reverse();
for (int index : removeIndexes.toArray()) {
  tryBlocks.remove(index);
origin: CalebFenton/simplify

  public static <T> void shiftIntegerMapKeys(int startKey, int shift, TIntObjectMap<T> intToObject) {
    if (shift == 0) {
      return;
    }

    TIntList keysToShift = new TIntArrayList(intToObject.keys());
    // Exclude anything before and including startKey
    for (int currentKey : keysToShift.toArray()) {
      if (currentKey <= startKey) {
        keysToShift.remove(currentKey);
      }
    }

    keysToShift.sort();
    if (shift > 0) {
      // Shifting keys up, so start at the end to avoid overwriting keys.
      keysToShift.reverse();
    }

    for (int currentKey : keysToShift.toArray()) {
      T obj = intToObject.get(currentKey);
      intToObject.remove(currentKey);
      intToObject.put(currentKey + shift, obj);
    }
  }
}
origin: net.sf.trove4j/trove4j

public void reverse() {
  synchronized( mutex ) { list.reverse(); }
}
public void reverse( int from, int to ) {
origin: com.palantir.patches.sourceforge/trove3

@Override
public void reverse() {
  synchronized( mutex ) { list.reverse(); }
}
@Override
origin: net.sf.trove4j/trove4j

public void reverse( int from, int to ) {
  synchronized( mutex ) { list.reverse( from, to ); }
}
origin: com.palantir.patches.sourceforge/trove3

@Override
public void reverse( int from, int to ) {
  synchronized( mutex ) { list.reverse( from, to ); }
}
origin: net.sf.trove4j/core

public void reverse() {
  synchronized( mutex ) { list.reverse(); }
}
public void reverse( int from, int to ) {
origin: hernad/easyrec

public void reverse() {
  synchronized( mutex ) { list.reverse(); }
}
public void reverse( int from, int to ) {
origin: net.sf.trove4j/core

public void reverse( int from, int to ) {
  synchronized( mutex ) { list.reverse( from, to ); }
}
origin: hernad/easyrec

public void reverse( int from, int to ) {
  synchronized( mutex ) { list.reverse( from, to ); }
}
origin: com.graphhopper/graphhopper

void reverseOrder()
{
  if (!reverseOrder)
    throw new IllegalStateException("Switching order multiple times is not supported");
  reverseOrder = false;
  edgeIds.reverse();
}
origin: com.conveyal/r5

intStopIds.reverse();
for (PatternTimetable ptt : frequencies) {
  hopList.reverse();
  ptt.hopTimes = hopList.toArray();
  TIntList dwellList = new TIntArrayList();
  dwellList.add(ptt.dwellTimes);
  dwellList.reverse();
  ptt.dwellTimes = dwellList.toArray();
origin: conveyal/r5

intStopIds.reverse();
for (PatternTimetable ptt : frequencies) {
  hopList.reverse();
  ptt.hopTimes = hopList.toArray();
  TIntList dwellList = new TIntArrayList();
  dwellList.add(ptt.dwellTimes);
  dwellList.reverse();
  ptt.dwellTimes = dwellList.toArray();
origin: conveyal/r5

patterns.reverse();
origin: com.conveyal/r5

patterns.reverse();
origin: com.conveyal/r5

} while (s.back != null);
patterns.reverse();
boardStops.reverse();
alightStops.reverse();
alightTimes.reverse();
trips.reverse();
boardStopPositions.reverse();
alightStopPositions.reverse();
origin: com.conveyal/r5

patterns.reverse();
origin: conveyal/r5

patterns.reverse();
gnu.trove.listTIntListreverse

Javadoc

Reverse the order of the elements in the list.

Popular methods of TIntList

  • add
    Adds a subset of the values in the array vals to the end of the list, in order.
  • toArray
    Copies a slice of the list into a native array.
  • get
    Returns the value at the specified offset.
  • size
    Returns the number of values in the list.
  • sort
    Sort a slice of the list (ascending) using the Sun quicksort implementation.
  • iterator
  • set
    Replace the values in the list starting at offset withlength values from the values array, starting
  • clear
    Flushes the internal state of the list, resetting the capacity to the default.
  • remove
    Removes length values from the list, starting atoffset
  • max
    Finds the maximum value in the list.
  • min
    Finds the minimum value in the list.
  • isEmpty
    Tests whether this list contains any values.
  • min,
  • isEmpty,
  • fill,
  • removeAt,
  • replace,
  • shuffle,
  • subList,
  • sum,
  • binarySearch

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 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