Lines Matching refs:element
35 final transient E element; field in SingletonImmutableSet
42 SingletonImmutableSet(E element) { in SingletonImmutableSet() argument
43 this.element = Preconditions.checkNotNull(element); in SingletonImmutableSet()
46 SingletonImmutableSet(E element, int hashCode) { in SingletonImmutableSet() argument
48 this.element = element; in SingletonImmutableSet()
61 return element.equals(target); in contains()
65 return Iterators.singletonIterator(element); in iterator()
69 return new Object[] { element }; in toArray()
81 objectArray[0] = element; in toArray()
91 return that.size() == 1 && element.equals(that.iterator().next()); in equals()
99 return cachedHashCode = element.hashCode(); in hashCode()
109 String elementToString = element.toString(); in toString()