Lines Matching refs:delegate
42 private final transient EnumSet<E> delegate;
44 ImmutableEnumSet(EnumSet<E> delegate) {
45 this.delegate = delegate;
53 return Iterators.unmodifiableIterator(delegate.iterator());
58 return delegate.size();
62 return delegate.contains(object);
66 return delegate.containsAll(collection);
70 return delegate.isEmpty();
74 return delegate.toArray();
78 return delegate.toArray(array);
82 return object == this || delegate.equals(object);
89 return (result == 0) ? hashCode = delegate.hashCode() : result;
93 return delegate.toString();
98 return new EnumSerializedForm<E>(delegate);
106 final EnumSet<E> delegate;
107 EnumSerializedForm(EnumSet<E> delegate) {
108 this.delegate = delegate;
112 return new ImmutableEnumSet<E>(delegate.clone());