/** {@inheritDoc} */ public boolean forEach( TIntProcedure procedure ) { return TIntIntHashMap.this.forEachKey( procedure ); }
@Override public String toString() { final StringBuilder buf = new StringBuilder( "{" ); forEachKey( new TIntProcedure() { private boolean first = true; public boolean execute( int key ) { if ( first ) { first = false; } else { buf.append( ", " ); } buf.append( key ); return true; } } ); buf.append( "}" ); return buf.toString(); } }
/** {@inheritDoc} */ public boolean forEach( TIntProcedure procedure ) { return TIntIntHashMap.this.forEachKey( procedure ); }
/** {@inheritDoc} */ public boolean forEach( TIntProcedure procedure ) { return TIntIntHashMap.this.forEachKey( procedure ); }
/** {@inheritDoc} */ @Override public boolean forEach( TIntProcedure procedure ) { return TIntIntHashMap.this.forEachKey( procedure ); }
/** See {@link gnu.trove.map.hash.TIntIntHashMap#forEachKey(TIntProcedure)} */ public boolean forEachKey(TIntProcedure procedure) { return delegate.forEachKey(procedure); }
/** See {@link gnu.trove.map.hash.TIntIntHashMap#forEachKey(TIntProcedure)} */ public boolean forEachKey(TIntProcedure procedure) { return delegate.forEachKey(procedure); }
/** {@inheritDoc} */ public boolean forEach( TIntProcedure procedure ) { return TIntIntHashMap.this.forEachKey( procedure ); }
@Override public String toString() { final StringBuilder buf = new StringBuilder( "{" ); forEachKey( new TIntProcedure() { private boolean first = true; public boolean execute( int key ) { if ( first ) { first = false; } else { buf.append( ", " ); } buf.append( key ); return true; } } ); buf.append( "}" ); return buf.toString(); } }
@Override public String toString() { final StringBuilder buf = new StringBuilder( "{" ); forEachKey( new TIntProcedure() { private boolean first = true; public boolean execute( int key ) { if ( first ) { first = false; } else { buf.append( ", " ); } buf.append( key ); return true; } } ); buf.append( "}" ); return buf.toString(); } }
@Override public String toString() { final StringBuilder buf = new StringBuilder( "{" ); forEachKey( new TIntProcedure() { private boolean first = true; public boolean execute( int key ) { if ( first ) { first = false; } else { buf.append( ", " ); } buf.append( key ); return true; } } ); buf.append( "}" ); return buf.toString(); } }
@Deprecated public Set<Constituent> getCanonicalEntities() { findCanonicalEntries(); final Set<Constituent> cc = new HashSet<>(); this.canonicalEntitiesMap.forEachKey(new TIntProcedure() { @Override public boolean execute(int value) { return cc.add(constituents.get(value)); } }); return cc; }
@Deprecated public Set<Constituent> getCanonicalEntities() { findCanonicalEntries(); final Set<Constituent> cc = new HashSet<>(); this.canonicalEntitiesMap.forEachKey(new TIntProcedure() { @Override public boolean execute(int value) { return cc.add(constituents.get(value)); } }); return cc; }
@Override public String toString() { final StringBuilder buf = new StringBuilder( "{" ); forEachKey( new TIntProcedure() { private boolean first = true; @Override public boolean execute( int key ) { if ( first ) { first = false; } else { buf.append( ", " ); } buf.append( key ); return true; } } ); buf.append( "}" ); return buf.toString(); } }