Loading config/preloaded-classes +4 −0 Original line number Diff line number Diff line Loading @@ -4117,6 +4117,10 @@ com.android.internal.util.StateMachine$SmHandler$StateInfo com.android.internal.util.VirtualRefBasePtr com.android.internal.util.XmlUtils com.android.internal.util.XmlUtils$WriteMapCallback com.android.internal.util.function.NonaConsumer com.android.internal.util.function.NonaFunction com.android.internal.util.function.OctConsumer com.android.internal.util.function.OctFunction com.android.internal.util.function.HeptConsumer com.android.internal.util.function.HeptFunction com.android.internal.util.function.HexConsumer Loading core/java/com/android/internal/util/function/NonaConsumer.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2018 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 9-argument {@link Consumer} * * @hide */ public interface NonaConsumer<A, B, C, D, E, F, G, H, I> { void accept(A a, B b, C c, D d, E e, F f, G g, H h, I i); } core/java/com/android/internal/util/function/NonaFunction.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2018 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 9-argument {@link Function} * * @hide */ public interface NonaFunction<A, B, C, D, E, F, G, H, I, R> { R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i); } core/java/com/android/internal/util/function/NonaPredicate.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2018 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 9-argument {@link Predicate} * * @hide */ public interface NonaPredicate<A, B, C, D, E, F, G, H, I> { boolean test(A a, B b, C c, D d, E e, F f, G g, H h, I i); } core/java/com/android/internal/util/function/OctConsumer.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2018 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 8-argument {@link Consumer} * * @hide */ public interface OctConsumer<A, B, C, D, E, F, G, H> { void accept(A a, B b, C c, D d, E e, F f, G g, H h); } Loading
config/preloaded-classes +4 −0 Original line number Diff line number Diff line Loading @@ -4117,6 +4117,10 @@ com.android.internal.util.StateMachine$SmHandler$StateInfo com.android.internal.util.VirtualRefBasePtr com.android.internal.util.XmlUtils com.android.internal.util.XmlUtils$WriteMapCallback com.android.internal.util.function.NonaConsumer com.android.internal.util.function.NonaFunction com.android.internal.util.function.OctConsumer com.android.internal.util.function.OctFunction com.android.internal.util.function.HeptConsumer com.android.internal.util.function.HeptFunction com.android.internal.util.function.HexConsumer Loading
core/java/com/android/internal/util/function/NonaConsumer.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2018 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 9-argument {@link Consumer} * * @hide */ public interface NonaConsumer<A, B, C, D, E, F, G, H, I> { void accept(A a, B b, C c, D d, E e, F f, G g, H h, I i); }
core/java/com/android/internal/util/function/NonaFunction.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2018 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 9-argument {@link Function} * * @hide */ public interface NonaFunction<A, B, C, D, E, F, G, H, I, R> { R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i); }
core/java/com/android/internal/util/function/NonaPredicate.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2018 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 9-argument {@link Predicate} * * @hide */ public interface NonaPredicate<A, B, C, D, E, F, G, H, I> { boolean test(A a, B b, C c, D d, E e, F f, G g, H h, I i); }
core/java/com/android/internal/util/function/OctConsumer.java 0 → 100644 +28 −0 Original line number Diff line number Diff line /* * Copyright (C) 2018 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 8-argument {@link Consumer} * * @hide */ public interface OctConsumer<A, B, C, D, E, F, G, H> { void accept(A a, B b, C c, D d, E e, F f, G g, H h); }