Tabnine Logo
Int2ObjectSortedMap.lastIntKey
Code IndexAdd Tabnine to your IDE (free)

How to use
lastIntKey
method
in
it.unimi.dsi.fastutil.ints.Int2ObjectSortedMap

Best Java code snippets using it.unimi.dsi.fastutil.ints.Int2ObjectSortedMap.lastIntKey (Showing top 4 results out of 315)

origin: Mojang/DataFixerUpper

protected static int getLowestSchemaSameVersion(final Int2ObjectSortedMap<Schema> schemas, final int versionKey) {
  if (versionKey < schemas.firstIntKey()) {
    // can't have a data type before anything else
    return schemas.firstIntKey();
  }
  return schemas.subMap(0, versionKey + 1).lastIntKey();
}
origin: it.unimi.dsi/fastutil

@Override
public int lastIntKey() {
  synchronized (sync) {
    return sortedMap.lastIntKey();
  }
}
/**
origin: it.unimi.dsi/fastutil

@Override
public int lastIntKey() {
  return sortedMap.lastIntKey();
}
/**
origin: it.unimi.dsi/fastutil

/**
 * {@inheritDoc}
 * 
 * @deprecated Please use the corresponding type-specific method instead.
 */
@Deprecated
@Override
default Integer lastKey() {
  return Integer.valueOf(lastIntKey());
}
/**
it.unimi.dsi.fastutil.intsInt2ObjectSortedMaplastIntKey

Javadoc

Returns the last (highest) key currently in this map.

Popular methods of Int2ObjectSortedMap

  • values
  • firstIntKey
    Returns the first (lowest) key currently in this map.
  • subMap
    Note that this specification strengthens the one given in SortedMap#subMap(Object,Object).
  • comparator
  • firstKey
  • get
  • headMap
    Note that this specification strengthens the one given in SortedMap#headMap(Object).
  • int2ObjectEntrySet
  • isEmpty
  • keySet
  • lastKey
  • put
  • lastKey,
  • put,
  • tailMap

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSystemService (Context)
  • onCreateOptionsMenu (Activity)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • 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