@Test public void equalsTest() throws Exception { new EqualsTester() .addEqualityGroup( MkdirsOptions.defaults(mConfiguration), MkdirsOptions.defaults(mConfiguration)) .testEquals(); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof MkdirsOptions)) { return false; } MkdirsOptions that = (MkdirsOptions) o; return Objects.equal(mCreateParent, that.mCreateParent) && Objects.equal(mOwner, that.mOwner) && Objects.equal(mGroup, that.mGroup) && Objects.equal(mMode, that.mMode); }
MkdirsOptions { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof MkdirsOptions)) { return false; } MkdirsOptions that = (MkdirsOptions) o; return Objects.equal(mCreateParent, that.mCreateParent) && Objects.equal(mOwner, that.mOwner) && Objects.equal(mGroup, that.mGroup) && Objects.equal(mMode, that.mMode); } }
MkdirsOptions { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof MkdirsOptions)) { return false; } MkdirsOptions that = (MkdirsOptions) o; return Objects.equal(mCreateParent, that.mCreateParent) && Objects.equal(mOwner, that.mOwner) && Objects.equal(mGroup, that.mGroup) && Objects.equal(mMode, that.mMode); } private  MkdirsOptions(String authUmask); }
MkdirsOptions { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof MkdirsOptions)) { return false; } MkdirsOptions that = (MkdirsOptions) o; return Objects.equal(mCreateParent, that.mCreateParent) && Objects.equal(mOwner, that.mOwner) && Objects.equal(mGroup, that.mGroup) && Objects.equal(mMode, that.mMode); } private  MkdirsOptions(String authUmask); static MkdirsOptions defaults(AlluxioConfiguration conf); boolean getCreateParent(); String getOwner(); String getGroup(); Mode getMode(); MkdirsOptions setCreateParent(boolean createParent); MkdirsOptions setOwner(String owner); MkdirsOptions setGroup(String group); MkdirsOptions setMode(Mode mode); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
MkdirsOptions { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof MkdirsOptions)) { return false; } MkdirsOptions that = (MkdirsOptions) o; return Objects.equal(mCreateParent, that.mCreateParent) && Objects.equal(mOwner, that.mOwner) && Objects.equal(mGroup, that.mGroup) && Objects.equal(mMode, that.mMode); } private  MkdirsOptions(String authUmask); static MkdirsOptions defaults(AlluxioConfiguration conf); boolean getCreateParent(); String getOwner(); String getGroup(); Mode getMode(); MkdirsOptions setCreateParent(boolean createParent); MkdirsOptions setOwner(String owner); MkdirsOptions setGroup(String group); MkdirsOptions setMode(Mode mode); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }