Home
last modified time | relevance | path

Searched defs:ObjectIntPair (Results 1 – 2 of 2) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/
DObjectIntPair.cs18 internal struct ObjectIntPair<T> : IEquatable<ObjectIntPair<T>> where T : class struct
20 private readonly int number;
21 private readonly T obj;
23 internal ObjectIntPair(T obj, int number) in ObjectIntPair() argument
29 public bool Equals(ObjectIntPair<T> other) in Equals()
35 public override bool Equals(object obj) => obj is ObjectIntPair<T> pair && Equals(pair);
37 public override int GetHashCode() in GetHashCode()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DExtensionRegistryLite.java186 private static final class ObjectIntPair { class in ExtensionRegistryLite
190 ObjectIntPair(final Object object, final int number) { in ObjectIntPair() method in ExtensionRegistryLite.ObjectIntPair