/** * @see Object#hashCode() */ @Override public int hashCode() { int hash = super.hashCode(); hash = hash * 17 + pscSeqLength; return hash; }
/** * @see Object#equals(Object) */ @Override public boolean equals( Object o ) { if ( !super.equals( o ) ) { return false; } PagedResults otherControl = ( PagedResults ) o; return ( getSize() == otherControl.getSize() ) && Arrays.equals( getCookie(), otherControl.getCookie() ); }
/** * {@inheritDoc} */ @Override public void setValue( byte[] value ) { if ( ( value == null ) || ( value.length <= 2 ) ) { setResponse( null ); } else if ( !hasResponse() ) { setResponse( true ); } super.setValue( value ); }
/** * @see Object#equals(Object) */ @Override public boolean equals( Object o ) { if ( !super.equals( o ) ) { return false; } PagedResults otherControl = ( PagedResults ) o; return ( getSize() == otherControl.getSize() ) && Arrays.equals( getCookie(), otherControl.getCookie() ); }
/** * {@inheritDoc} */ @Override public void setValue( byte[] value ) { if ( ( value == null ) || ( value.length <= 2 ) ) { setResponse( null ); } else if ( !hasResponse() ) { setResponse( true ); } super.setValue( value ); }
/** * @see Object#hashCode() */ @Override public int hashCode() { int hash = super.hashCode(); hash = hash * 17 + pscSeqLength; return hash; }
/** * @see Object#equals(Object) */ @Override public boolean equals( Object o ) { if ( !super.equals( o ) ) { return false; } PagedResults otherControl = ( PagedResults ) o; return ( getSize() == otherControl.getSize() ) && Arrays.equals( getCookie(), otherControl.getCookie() ); }
/** * {@inheritDoc} */ @Override public void setValue( byte[] value ) { if ( ( value == null ) || ( value.length <= 2 ) ) { setResponse( null ); } else if ( !hasResponse() ) { setResponse( true ); } super.setValue( value ); }
/** * @see Object#hashCode() */ @Override public int hashCode() { int hash = super.hashCode(); hash = hash * 17 + pscSeqLength; return hash; }