Package com.google.common.collect

Examples of com.google.common.collect.ArrayListMultimap


  }

  /** Returns a shallow copy of this record. */
  public Record copy() {
    //return new Record(ArrayListMultimap.create(fields)); // adding fields later causes (slow) rehashing
    ArrayListMultimap copy = ArrayListMultimap.create(fields.size() + 16, 10);
    copy.putAll(fields);
    return new Record(copy);
  }
View Full Code Here

TOP

Related Classes of com.google.common.collect.ArrayListMultimap

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.