Loading core/java/com/android/internal/util/function/DecConsumer.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.internal.util.function; import java.util.function.Consumer; /** * A 10-argument {@link Consumer} * * @hide */ public interface DecConsumer<A, B, C, D, E, F, G, H, I, J> { void accept(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j); } core/java/com/android/internal/util/function/DecFunction.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.internal.util.function; import java.util.function.Function; /** * A 10-argument {@link Function} * * @hide */ public interface DecFunction<A, B, C, D, E, F, G, H, I, J, R> { R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j); } core/java/com/android/internal/util/function/DecPredicate.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.internal.util.function; import java.util.function.Predicate; /** * A 10-argument {@link Predicate} * * @hide */ public interface DecPredicate<A, B, C, D, E, F, G, H, I, J> { boolean test(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j); } core/java/com/android/internal/util/function/UndecConsumer.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.internal.util.function; import java.util.function.Consumer; /** * A 11-argument {@link Consumer} * * @hide */ public interface UndecConsumer<A, B, C, D, E, F, G, H, I, J, K> { void accept(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k); } core/java/com/android/internal/util/function/UndecFunction.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.internal.util.function; import java.util.function.Function; /** * A 11-argument {@link Function} * * @hide */ public interface UndecFunction<A, B, C, D, E, F, G, H, I, J, K, R> { R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k); } Loading
core/java/com/android/internal/util/function/DecConsumer.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.internal.util.function; import java.util.function.Consumer; /** * A 10-argument {@link Consumer} * * @hide */ public interface DecConsumer<A, B, C, D, E, F, G, H, I, J> { void accept(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j); }
core/java/com/android/internal/util/function/DecFunction.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.internal.util.function; import java.util.function.Function; /** * A 10-argument {@link Function} * * @hide */ public interface DecFunction<A, B, C, D, E, F, G, H, I, J, R> { R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j); }
core/java/com/android/internal/util/function/DecPredicate.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.internal.util.function; import java.util.function.Predicate; /** * A 10-argument {@link Predicate} * * @hide */ public interface DecPredicate<A, B, C, D, E, F, G, H, I, J> { boolean test(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j); }
core/java/com/android/internal/util/function/UndecConsumer.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.internal.util.function; import java.util.function.Consumer; /** * A 11-argument {@link Consumer} * * @hide */ public interface UndecConsumer<A, B, C, D, E, F, G, H, I, J, K> { void accept(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k); }
core/java/com/android/internal/util/function/UndecFunction.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.android.internal.util.function; import java.util.function.Function; /** * A 11-argument {@link Function} * * @hide */ public interface UndecFunction<A, B, C, D, E, F, G, H, I, J, K, R> { R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k); }