@Test void equals() { Assertions.assertEquals(CAMERA_READ, CAMERA_READ); Assertions.assertNotEquals(CAMERA_WRITE, CAMERA_READ_WRITE); Assertions.assertNotEquals(CAMERA_READ, CAMERA_WRITE); Assertions.assertNotEquals(IMAGE_READ, IMAGE_READ_WRITE); Assertions.assertNotEquals(IMAGE_WRITE, IMAGE_READ_WRITE); Assertions.assertNotEquals(CAMERA_READ, IMAGE_WRITE); Assertions.assertNotEquals(CAMERA_READ, EVF_IMAGE_READ); }
@Override public boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final TargetRefAccessType that = (TargetRefAccessType) o; return read == that.read && write == that.write && targetRefType == that.targetRefType; }
TargetRefAccessType { @Override public boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final TargetRefAccessType that = (TargetRefAccessType) o; return read == that.read && write == that.write && targetRefType == that.targetRefType; } }
TargetRefAccessType { @Override public boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final TargetRefAccessType that = (TargetRefAccessType) o; return read == that.read && write == that.write && targetRefType == that.targetRefType; } private  TargetRefAccessType(final TargetRefType targetRefType, final boolean read, final boolean write); }
TargetRefAccessType { @Override public boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final TargetRefAccessType that = (TargetRefAccessType) o; return read == that.read && write == that.write && targetRefType == that.targetRefType; } private  TargetRefAccessType(final TargetRefType targetRefType, final boolean read, final boolean write); TargetRefType getTargetRefType(); boolean hasRead(); boolean hasWrite(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); }
TargetRefAccessType { @Override public boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final TargetRefAccessType that = (TargetRefAccessType) o; return read == that.read && write == that.write && targetRefType == that.targetRefType; } private  TargetRefAccessType(final TargetRefType targetRefType, final boolean read, final boolean write); TargetRefType getTargetRefType(); boolean hasRead(); boolean hasWrite(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); static final TargetRefAccessType CAMERA_READ; static final TargetRefAccessType CAMERA_READ_WRITE; static final TargetRefAccessType CAMERA_WRITE; static final TargetRefAccessType IMAGE_READ; static final TargetRefAccessType IMAGE_READ_WRITE; static final TargetRefAccessType IMAGE_WRITE; static final TargetRefAccessType EVF_IMAGE_READ; static final Set<TargetRefAccessType> GROUP_NONE; static final Set<TargetRefAccessType> GROUP_CAMERA_READ; static final Set<TargetRefAccessType> GROUP_CAMERA_READ_WRITE; static final Set<TargetRefAccessType> GROUP_IMAGE_READ; static final Set<TargetRefAccessType> GROUP_IMAGE_READ_WRITE; static final Set<TargetRefAccessType> GROUP_IMAGE_WRITE; static final Set<TargetRefAccessType> GROUP_EVF_IMAGE_READ; static final Set<TargetRefAccessType> GROUP_CAMERA_READ_IMAGE_READ; static final Set<TargetRefAccessType> GROUP_CAMERA_READ_WRITE_IMAGE_READ; static final Set<TargetRefAccessType> GROUP_CAMERA_READ_WRITE_IMAGE_READ_WRITE; static final Set<TargetRefAccessType> GROUP_CAMERA_WRITE_EVF_IMAGE_READ; }