Class BytesWrapper

java.lang.Object
org.seasar.doma.wrapper.AbstractWrapper<byte[]>
org.seasar.doma.wrapper.BytesWrapper
All Implemented Interfaces:
Wrapper<byte[]>

public class BytesWrapper extends AbstractWrapper<byte[]>
A wrapper for the byte[] class.
  • Constructor Details

    • BytesWrapper

      public BytesWrapper()
    • BytesWrapper

      public BytesWrapper(byte[] value)
  • Method Details

    • doGetCopy

      protected byte[] doGetCopy()
      Overrides:
      doGetCopy in class AbstractWrapper<byte[]>
    • doHasEqualValue

      protected boolean doHasEqualValue(Object otherValue)
      Overrides:
      doHasEqualValue in class AbstractWrapper<byte[]>
    • accept

      public <R, P, Q, TH extends Throwable> R accept(WrapperVisitor<R,P,Q,TH> visitor, P p, Q q) throws TH
      Description copied from interface: Wrapper
      Accept a visitor.
      Type Parameters:
      R - The result
      P - The first parameter type
      Q - The second parameter type
      TH - The error or exception type
      Parameters:
      visitor - the visitor
      p - the first parameter
      q - the second parameter
      Returns:
      the result
      Throws:
      TH - the error or exception type