Пример #1
0
 @Override
 public int hashCode() {
   return 31 * first.hashCode() + second.hashCode();
 }
Пример #2
0
 @Override
 @Nullable
 A correctedDoBackward(@Nullable C c) {
   return first.correctedDoBackward(second.correctedDoBackward(c));
 }
Пример #3
0
 @Override
 @Nullable
 C correctedDoForward(@Nullable A a) {
   return second.correctedDoForward(first.correctedDoForward(a));
 }
Пример #4
0
 @Override
 public int hashCode() {
   return ~original.hashCode();
 }
Пример #5
0
 @Override
 @Nullable
 B correctedDoBackward(@Nullable A a) {
   return original.correctedDoForward(a);
 }
Пример #6
0
 @Override
 @Nullable
 A correctedDoForward(@Nullable B b) {
   return original.correctedDoBackward(b);
 }