Package com.linkedin.venice.schema.vson
Class VsonAvroDatumReader.DeepEqualsArrayList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<java.lang.Object>
-
- com.linkedin.venice.schema.vson.VsonAvroDatumReader.DeepEqualsArrayList
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<java.lang.Object>
,java.util.Collection<java.lang.Object>
,java.util.List<java.lang.Object>
,java.util.RandomAccess
- Enclosing class:
- VsonAvroDatumReader<D>
public static class VsonAvroDatumReader.DeepEqualsArrayList extends java.util.ArrayList<java.lang.Object>
This class supports the special byte[] check. With this class, you can compare the array result retrieved from VSON store. Most of the logic is copied fromAbstractList.equals(Object)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeepEqualsArrayList()
DeepEqualsArrayList(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfacejava.util.Collection<java.lang.Object>
- Specified by:
equals
in interfacejava.util.List<java.lang.Object>
- Overrides:
equals
in classjava.util.ArrayList<java.lang.Object>
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.util.Collection<java.lang.Object>
- Specified by:
hashCode
in interfacejava.util.List<java.lang.Object>
- Overrides:
hashCode
in classjava.util.ArrayList<java.lang.Object>
-
-