Tabnine Logo
Object2ObjectMap$FastEntrySet.fastIterator
Code IndexAdd Tabnine 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)

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: 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();
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();
}
/**
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
  • findViewById (Activity)
  • onCreateOptionsMenu (Activity)
  • setContentView (Activity)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • JButton (javax.swing)
  • JFrame (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • 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