### Question:
TupleDomain { @SuppressWarnings("unchecked") public static <T> TupleDomain<T> all() { return (TupleDomain<T>) ALL; } private  TupleDomain(Optional<Map<T, Domain>> domains); static TupleDomain<T> withColumnDomains(Map<T, Domain> domains); @SuppressWarnings("unchecked") static TupleDomain<T> none(); @SuppressWarnings("unchecked") static TupleDomain<T> all(); static Optional<Map<T, NullableValue>> extractFixedValues(TupleDomain<T> tupleDomain); static Optional<Map<T, List<NullableValue>>> extractDiscreteValues(TupleDomain<T> tupleDomain); static TupleDomain<T> fromFixedValues(Map<T, NullableValue> fixedValues); @JsonCreator // Available for Jackson deserialization only! static TupleDomain<T> fromColumnDomains(@JsonProperty("columnDomains") Optional<List<ColumnDomain<T>>> columnDomains); @JsonProperty // Available for Jackson serialization only! Optional<List<ColumnDomain<T>>> getColumnDomains(); boolean isAll(); boolean isNone(); @JsonIgnore Optional<Map<T, Domain>> getDomains(); TupleDomain<T> intersect(TupleDomain<T> other); @SafeVarargs static TupleDomain<T> columnWiseUnion(TupleDomain<T> first, TupleDomain<T> second, TupleDomain<T>... rest); static TupleDomain<T> columnWiseUnion(List<TupleDomain<T>> tupleDomains); boolean overlaps(TupleDomain<T> other); boolean contains(TupleDomain<T> other); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); String toString(ConnectorSession session); TupleDomain<T> filter(BiPredicate<T, Domain> predicate); TupleDomain<U> transform(Function<T, U> function); TupleDomain<T> simplify(); TupleDomain<T> simplify(int threshold); TupleDomain<T> transformDomains(BiFunction<T, Domain, Domain> transformation);  }### Answer:
@Test public void testAll() { assertTrue(TupleDomain.all().isAll()); assertEquals(TupleDomain.<ColumnHandle>all(), TupleDomain.withColumnDomains(ImmutableMap.of( A, Domain.all(BIGINT)))); assertEquals(TupleDomain.<ColumnHandle>all(), TupleDomain.withColumnDomains(ImmutableMap.<ColumnHandle, Domain>of())); }