<commit_before>package com.matthewtamlin.spyglass.library.handler_adapters;

import android.content.res.TypedArray;

import com.matthewtamlin.spyglass.library.handler_annotations.DimensionHandler;

import static com.matthewtamlin.java_utilities.checkers.NullChecker.checkNotNull;
import static java.lang.Float.NEGATIVE_INFINITY;
import static java.lang.Float.POSITIVE_INFINITY;

public class DimensionHandlerAdapter implements HandlerAdapter<Float, DimensionHandler> {
	@Override
	public boolean attributeValueIsAvailable(
			final TypedArray attrs,
			final DimensionHandler annotation) {

		checkNotNull(attrs, "Argument \'attrs\' cannot be null.");
		checkNotNull(annotation, "Argument \'annotation\' cannot be null.");
<commit_msg>Added @Tested annotation<commit_after>package com.matthewtamlin.spyglass.library.handler_adapters;

import android.content.res.TypedArray;

import com.matthewtamlin.java_utilities.testing.Tested;
import com.matthewtamlin.spyglass.library.handler_annotations.DimensionHandler;

import static com.matthewtamlin.java_utilities.checkers.NullChecker.checkNotNull;
import static java.lang.Float.NEGATIVE_INFINITY;
import static java.lang.Float.POSITIVE_INFINITY;

@Tested(testMethod = "automated")
public class DimensionHandlerAdapter implements HandlerAdapter<Float, DimensionHandler> {
	@Override
	public boolean attributeValueIsAvailable(
			final TypedArray attrs,
			final DimensionHandler annotation) {

		checkNotNull(attrs, "Argument \'attrs\' cannot be null.");
		checkNotNull(annotation, "Argument \'annotation\' cannot be null.");

{'fraction_non_alphanumeric': 0.08784213876511776, 'fraction_numerical': 0.0, 'mean_word_length': 7.103092783505154, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2898719', 'n_tokens_mistral': 483, 'n_tokens_neox': 456, 'n_words': 96}