Codota Logo
Object2ObjectMap$FastEntrySet.fastIterator
Code IndexAdd Codota to your IDE (free)

How to use
fastIterator
method
in
it.unimi.dsi.fastutil.objects.Object2ObjectMap$FastEntrySet

Best Java code snippets using it.unimi.dsi.fastutil.objects.Object2ObjectMap$FastEntrySet.fastIterator (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: apache/geode

 versionToConnMap.object2ObjectEntrySet().fastIterator(); itr.hasNext();) {
Object2ObjectMap.Entry entry = itr.next();
Object ver = entry.getKey();
origin: elki-project/elki

/**
 * Log cluster sizes in verbose mode.
 * 
 * @param m Log message
 * @param dimensionality Dimensionality
 * @param clustersMap Cluster map
 */
private void logClusterSizes(String m, int dimensionality, Object2ObjectOpenCustomHashMap<long[], List<ArrayModifiableDBIDs>> clustersMap) {
 if(LOG.isVerbose()) {
  final StringBuilder msg = new StringBuilder(1000).append(m).append('\n');
  for(ObjectIterator<Object2ObjectMap.Entry<long[], List<ArrayModifiableDBIDs>>> iter = clustersMap.object2ObjectEntrySet().fastIterator(); iter.hasNext();) {
   Object2ObjectMap.Entry<long[], List<ArrayModifiableDBIDs>> entry = iter.next();
   msg.append(BitsUtil.toStringLow(entry.getKey(), dimensionality)).append(" sizes:");
   for(ArrayModifiableDBIDs c : entry.getValue()) {
    msg.append(' ').append(c.size());
   }
   msg.append('\n');
  }
  LOG.verbose(msg.toString());
 }
}
origin: uk.ac.gate.mimir/mimir-core

 new String[desc2TermData.size()][][] : null;
ObjectIterator<Object2ObjectMap.Entry<String, TermData>> iter = 
  desc2TermData.object2ObjectEntrySet().fastIterator();    
int pos = 0;
while(iter.hasNext()) {
origin: it.unimi.dsi/fastutil

/**
 * Returns an iterator that will be {@linkplain FastEntrySet fast}, if possible,
 * on the {@linkplain Map#entrySet() entry set} of the provided {@code map}.
 * 
 * @param map
 *            a map from which we will try to extract a (fast) iterator on the
 *            entry set.
 * @return an iterator on the entry set of the given map that will be fast, if
 *         possible.
 * @since 8.0.0
 */
@SuppressWarnings("unchecked")
public static <K, V> ObjectIterator<Object2ObjectMap.Entry<K, V>> fastIterator(Object2ObjectMap<K, V> map) {
  final ObjectSet<Object2ObjectMap.Entry<K, V>> entries = map.object2ObjectEntrySet();
  return entries instanceof Object2ObjectMap.FastEntrySet
      ? ((Object2ObjectMap.FastEntrySet<K, V>) entries).fastIterator()
      : entries.iterator();
}
/**
origin: org.apache.geode/gemfire-core

   stats, sendBufferSize));
for (ObjectIterator<Object2ObjectMap.Entry> itr = versionToConnMap.object2ObjectEntrySet().fastIterator(); itr.hasNext(); ) {
 Object2ObjectMap.Entry entry = itr.next();
 Object ver = entry.getKey();
it.unimi.dsi.fastutil.objectsObject2ObjectMap$FastEntrySetfastIterator

Javadoc

Returns a fast iterator over this entry set; the iterator might return always the same entry instance, suitably mutated.

Popular methods of Object2ObjectMap$FastEntrySet

  • fastForEach
    Iterates quickly over this entry set; the iteration might happen always on the same entry instance,
  • forEach

Popular in Java

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • addToBackStack (FragmentTransaction)
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now