Ejemplo n.º 1
0
 @Override
 public String toString() {
   return MoreObjects.toStringHelper(ServiceManager.class)
       .add("services", Collections2.filter(services, not(instanceOf(NoOpService.class))))
       .toString();
 }
Ejemplo n.º 2
0
 /**
  * Returns a string representation for this CacheBuilderSpec instance. The form of this
  * representation is not guaranteed.
  */
 @Override
 public String toString() {
   return MoreObjects.toStringHelper(this).addValue(toParsableString()).toString();
 }