Example #1
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();
 }
Example #2
0
 @Override
 public String toString() {
   return MoreObjects.toStringHelper(ServiceManager.class)
       .add("services", Collections2.filter(services, not(instanceOf(NoOpService.class))))
       .toString();
 }
Example #3
0
 @SuppressWarnings("unchecked") // safe covariant cast
 @GwtIncompatible("To be supported")
 <K extends K0, V extends V0> RemovalListener<K, V> getRemovalListener() {
   return (RemovalListener<K, V>) MoreObjects.firstNonNull(removalListener, NullListener.INSTANCE);
 }