Code example for Collection

Methods: equals

0
            return getDelegate().hashCode();
        } 
 
        @Override 
        public boolean equals(final Object obj) {
            return getDelegate().equals(obj);
        } 
 
        @Override 
        public String toString() {
            return getDelegate().toString();
        } 
 
        // 
        // unsupported operations 
        // 
 
        public final boolean add(final E o) {
            throw new UnsupportedOperationException();
        }