text
stringlengths
7
995k
/* Derby - Class com.pivotal.gemfirexd.internal.impl.sql.execute.BasicSortObserver Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF license...
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.qsz.example.routepoi; import android.app.Activity; import android.app.ProgressDialog; import android.content.Context; import android.graphics.Color; import android.os.Bundle; import android.view.View; import android.widget.TextView; import com.amap.api.maps.AMap; import com.amap.api.maps.AMap.InfoWindowAd...
package com.pablodomingos.classes.rps.builders; import com.pablodomingos.classes.rps.RpsIntermediario; import com.pablodomingos.classes.rps.RpsIntermediarioCpfCnpj; public class IntermediarioBuilder extends AbstractBuilder<RpsIntermediario>{ private RpsIntermediarioCpfCnpj cpfCnpj; private String nome; priv...
/***************************************************************** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * ...
package devopsdistilled.operp.server.data.repo.account; import org.springframework.data.jpa.repository.JpaRepository; import devopsdistilled.operp.server.data.entity.account.ReceivableAccount; public interface ReceivableAccountRepository extends JpaRepository<ReceivableAccount, Long> { }
package seedu.contax.ui; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.scene.control.ListCell; import javafx.scene.control.ListView; import javafx.scene.layout.Region; /** * Creates a List Panel containing the list of type T. * * @param <T> The type of model that this ListPanel w...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
package com.hss01248.dialogutildemo; import android.app.AlertDialog; import android.app.Dialog; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.widget.Button; import android.widget.TextView; import com.orhanobut.logger.Logger; impo...
/* * copyright© 2016-2016 ueyudiud */ package ttr.core.gui.machine.eletrical; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.Slot; import ttr.api.gui.SlotOutput; import ttr.core.gui.abstracts.ContainerTPC; import ttr.core.tile.electric.TEElectricalExtractor; /** * Created at 2016年1...
package org.askalon.jlibcloud.compute.driverSpecific.cloudframes; import org.askalon.jlibcloud.compute.wrapperInterfaces.NodeTemplateBuilder; import org.askalon.jlibcloud.compute.types.Arg; import org.askalon.jlibcloud.compute.wrapperInterfaces.base.NodeImage; import java.util.Map; import org.askalon.jlibcloud.comput...
package facebook.storage.keys; import facebook.storage.Datatype; public enum CommentKey implements SerializerKey { ATTACHMENT("Bild", Datatype.PHOTO), CAN_REMOVE("Kann entfernt werden", Datatype.OTHER), REPLIES_COUNT("Antwortenanzahl", Datatype.NUMBER), CREATED("Erstellt", Datatype.DATE), FROM("Von", Datatype.CF...
/* * Copyright 2010-2019 Australian Signals Directorate * * 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 appl...
/* The MIT License (MIT) Copyright (c) 2020 DAGOPT Optimization Technologies GmbH Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights...
package com.dailycalculator.asus.dailycalculatorapps; import android.content.Intent; import android.net.Uri; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.widg...
/* * Copyright 2002-2019 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package task_757.solution; import org.junit.Test; import java.io.FileWriter; import java.io.IOException; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Created on 31.08.2018. * * @author Aleks Sidorenko (alek.sidorenko1979@gmail.com). * @version $Id$. * @since 0.1. */ ...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
/*- * #%L * Molecule Archive Suite (Mars) - core data storage and processing algorithms. * %% * Copyright (C) 2018 - 2022 Karl Duderstadt * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributio...
package net.xn__n6x.communication.control; import android.os.SystemClock; import android.util.Log; import net.xn__n6x.communication.identity.Id; import java.util.*; import java.util.stream.Collectors; public class Router { /** By default, how many milliseconds a packet should live for. (2 minutes) */ public ...
/* * Copyright 2014-2015 See AUTHORS file. * * 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 agr...
/* * Copyright (C) 2012 The Guava Authors * * 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 agre...
package com.quebec.core.domains.move.model; public enum Orientation { VERTICAL, HORIZONTAL }
/* * Restore.java * --------------------------------- * Copyright (c) 2020 * RESOLVE Software Research Group * School of Computing * Clemson University * All rights reserved. * --------------------------------- * This file is subject to the terms and conditions defined in * file 'LICENSE.txt', which is part o...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser; import android.annotation.SuppressLint; import android.app.Dialog; import android.app.DialogFragment; import android...
package com.slack.api.model.event; import com.google.gson.annotations.SerializedName; import com.slack.api.model.Attachment; import com.slack.api.model.File; import com.slack.api.model.Reaction; import com.slack.api.model.block.LayoutBlock; import lombok.Data; import java.util.List; /** * https://api.slack.com/even...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package ericminio.javaoracle.domain; import org.junit.Test; import java.util.Arrays; import static org.hamcrest.CoreMatchers.equalTo; import static org.junit.Assert.assertThat; public class ParametersTest { @Test public void emptyByDefault() { Parameters parameters = new Parameters(); asser...
import java.util.Scanner; public class a229 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); while (scan.hasNext()) { int n = scan.nextInt(); _rec(n, 0, 0, ""); } } static void _rec(int n, int l, int r, String BS){ if(l<r){ return; } if((l==r)&&(l==n)){ St...
/* * 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 t...
package com.singularitycoder.navigationdrawer2; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; import androidx.appcompat.app.ActionB...
package hr.fer.zemris.java.hw05.shell.commands; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardOpenOption; import java.util.ArrayList; import java.util.List; import hr.f...
package com.lingx.core.workflow.impl.method; import java.util.Map; import javax.annotation.Resource; import org.springframework.stereotype.Component; import com.lingx.core.engine.IContext; import com.lingx.core.engine.IPerformer; import com.lingx.core.service.IPageService; import com.lingx.core.service.IWorkflowSer...
/* * Copyright 2011-2014 Rafael Iñigo * * 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...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2010 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are subject...
/* * Copyright 2016-present Open Networking Foundation * * 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 appli...
/* * Copyright 2018-2019 https://github.com/myoss * * 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...
package me.Fupery.ArtMap.Colour; import org.bukkit.ChatColor; import org.bukkit.Material; import me.Fupery.ArtMap.Painting.Pixel; public class ShadingDye extends ArtDye { private final boolean darken; protected ShadingDye(String localizedName, String englishName, boolean darken, ChatColor chatColour, Mater...
package net.cartola.emissorfiscal.sped.fiscal.blocoC.service; import static net.cartola.emissorfiscal.util.NumberUtilRegC100.getBigDecimalDuasCasas; import static net.cartola.emissorfiscal.util.NumberUtilRegC100.multiplicaAliqPorCem; import static net.cartola.emissorfiscal.util.SpedFiscalUtil.getCstIcmsComOrigem; impo...
/******************************************************************************* * * Copyright 2012 Impetus Infotech. * * * * 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 * * *...
package aoce.android.library.wrapper; import android.view.Surface; public interface IVKInitSurface { public void initSurface(Surface surface, int width, int height); }
package com.tvd12.ezyfox.bean.testing.autobindfunction; import com.tvd12.ezyfox.bean.testing.autobindfunction1.World0; public abstract class World1 extends World0 { }
package top.ibase4j.core.util; import java.util.HashMap; import java.util.Map; import java.util.MissingResourceException; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer; /** * Parsing The Configuration File * * @author ShenHuaJie * @ver...
package br.com.kazale.pontointeligente.api.services; import java.util.Optional; import br.com.kazale.pontointeligente.api.entities.Empresa; public interface EmpresaService { /** * Retorna uma empresa dado um CNPJ. * * @param cnpj * @return Optional<Empresa> */ Optional<Empresa> buscarPorCnpj(String cn...
// -------------------------------------------------------------------------------- // Copyright 2002-2022 Echo Three, LLC // // 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:/...
// Copyright (c) 2020, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.kotlin; import com.android.tools.r8.shaking.EnqueuerMetadataTraceable; publ...
package com.bumptech.glide.load.resource.bitmap; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.PorterDuff.Mode; import android.graphics.P...
package net.minidev.ovh.api.horizonview; /** * List all Active Directories linked to your CDI Active Directory */ public class OvhDomainTrust { /** * IP of your second DNS * * canBeNull && readOnly */ public String dns2; /** * IP of your first DNS * * canBeNull && readOnly */ public String dns1;...
/* * Copyright 2003-2012 Dave Griffith, Bas Leijdekkers * * 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 applicab...
package hjz.dp; /** * @Project: spring * @description: 模拟一个订单类 * @author: sunkang * @create: 2018-09-03 11:27 * @ModificationHistory who when What **/ public class Order { private String uid; private String oid; private double amount; public Order(String uid, String oid, double amo...
/* * Copyright 2002-2020 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package crazypants.enderio.conduits.gui; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.enderio.core.api.client.gui.ITabPanel; import crazypants.en...
package se.artheus.getswish.model; public enum PaymentStatus { PAID, ERROR }
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package ch.hslu.a2; public class FixedSizeHeap implements IntegerHeap { int[] heap; int addIndex; public FixedSizeHeap(int size) { heap = new int[size]; addIndex = 0; } @Override public void insert(final int e) { if (this.isFull()) { throw new IllegalStateException("The Heap is Full"); } else { ...
/* * Copyright 2000-2017 JetBrains s.r.o. * * 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 agre...
package shdd.android.components.httpdownloader; import java.net.URLConnection; import java.util.Locale; import android.os.Looper; class Helpers { static long getHeaderFieldLong(URLConnection conn, String field, long defaultValue) { try { return Long.parseLong(conn.getHeaderField(field)); ...
package com.ifast.common.controller; import com.baomidou.mybatisplus.plugins.Page; import com.ifast.common.annotation.Log; import com.ifast.common.base.BaseController; import com.ifast.common.domain.DictDO; import com.ifast.common.service.DictService; import com.ifast.common.utils.Result; import org.apache.shiro.authz...
import java.util.ArrayList; import java.util.List; import java.util.concurrent.Semaphore; /** * Created by Kasper on 10/27/2014. */ public class ValueStore implements Observable { protected int value = 0; protected List<Observer> observers = new ArrayList<>(); protected Semaphore sem = new Semaphore(1);...
package issues.issue130; public class Impl_1 extends Impl_0 { public int a = 1; // https://docs.oracle.com/javase/tutorial/java/IandI/super.html public void test1() { super.printMe("OK:" + super.a + ":" + this.a); } @Override protected void printMe(String s) { super.printMe("FAIL:" + super.a + ":" + this.a...
package cn.czfshine.wechat.msg; import cn.czfshine.wechat.database.pojo.MessageDO; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * @author:czfshine * @date:18-2-21 **/ public class MessageFactory { ...
package com.cp3.cloud.sms.enumeration; import com.cp3.base.basic.BaseEnum; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import java.util.stream.Stream; /** * 验证码类型 * * @author zuihou...
package com.exam.oracle.interview; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import java.util.PriorityQueue; import java.util.Queue; import java.util.Set; public class IteratorFlattenerT...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package org.cvn.videoplayer.util; import android.support.annotation.NonNull; import org.cvn.videoplayer.model.LoadingBean; import org.cvn.videoplayer.model.binder.LoadingViewBinder; import org.cvn.videoplayer.ui.news.model.binder.NewsArticleImgViewBinder; import org.cvn.videoplayer.ui.news.model.binder.NewsArticleTex...
import org.apache.commons.lang3.StringUtils; import java.io.IOException; import java.util.Arrays; import java.util.List; public class P54_PokerHands { // Project Euler - Problem 54 - Poker hands // In the card game poker, a hand consists of five cards and are ranked, from lowest to highest, // in the fol...
package my.portfolio.prjkt.data.entities; import com.fasterxml.jackson.annotation.JsonIgnore; import my.portfolio.prjkt.data.entities.abstracts.AbstractEntity; import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.lang3.RandomStringUtils; import javax.persistence.*; import java.io.Serializable...
package com.lcp.blog.constant; public interface CommonConstants { /** * 成功标记 */ Integer SUCCESS = 200; /** * 错误标记 */ Integer ERROR = 500; }
/* * Copyright 2020 LINE Corporation * * LINE Corporation licenses this file to you 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may...
/* * Copyright 2019 University of Hildesheim, Software Systems Engineering * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unl...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package duelistmod.cards.pools.dragons; import com.megacrit.cardcrawl.actions.AbstractGameAction.AttackEffect; import com.megacrit.cardcrawl.cards.AbstractCard; import com.megacrit.cardcrawl.characters.AbstractPlayer; import com.megacrit.cardcrawl.core.CardCrawlGame; import com.megacrit.cardcrawl.localization.CardStri...
/* * Copyright 1999-2017 Alibaba Group Holding Ltd. * * 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 applica...
package next.operator.searchoil.model; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import java.math.BigDecimal; @Getter @Setter @NoArgsConstructor @AllArgsConstructor public class OliPriceModel { private String provider; private BigDecimal price...
package com.gmail.programmerfromearth.dao.course; import com.gmail.programmerfromearth.model.Course; import org.springframework.beans.factory.annotation.Value; import org.springframework.dao.support.DataAccessUtils; import org.springframework.jdbc.core.RowMapper; import org.springframework.jdbc.core.namedparam.MapSqlP...
/* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package mm.rest; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class TeamsAddUserToTeamFromInviteReqs { @SerializedName("invite_id") @Expose public String inviteId; }
package com.hynl.weibo.hynlactivity; import android.os.Bundle; import android.view.View; import android.widget.ListView; import com.google.gson.Gson; import com.handmark.pulltorefresh.library.PullToRefreshBase; import com.handmark.pulltorefresh.library.PullToRefreshListView; import com.hynl.weibo.BaseActivity; import...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
package de.akquinet.jbosscc.webservice; import javax.ejb.Stateless; import javax.xml.ws.WebServiceRef; @Stateless public class OrderServiceClient { @WebServiceRef(wsdlLocation = "http://localhost:8080/webservice/OrderWebserviceEndpoint?WSDL") private OrderWebserviceEndpointService orderWebserviceEndpoint; public...
/* * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
package net.chrisrichardson.eventstore.javaexamples.banking.web; import net.chrisrichardson.eventstore.client.config.EventStoreHttpClientConfiguration; import net.chrisrichardson.eventstore.javaexamples.banking.web.commandside.accounts.CommandSideWebAccountsConfiguration; import org.springframework.boot.autoconfigure....
/******************************************************************************* * Copyright 2019 Observational Health Data Sciences and Informatics * * 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...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package com.wuqingsen.opengllearn.fff.objects; import android.opengl.GLES20; import com.wuqingsen.opengllearn.fff.data.Constands; import com.wuqingsen.opengllearn.fff.data.VertexArray; import com.wuqingsen.opengllearn.fff.programs.ColorShaderProgram; /** * wuqingsen on 2021/2/2 * Mailbox:1243411677@qq.com * annot...
package net.consensys.beaconchain.ethereum.core; /** * An interface for creating the block hash given a {@link BlockHeader}. * * <p> * The algorithm to create the block hash may vary depending on the consensus mechanism used by the * chain. */ @FunctionalInterface public interface BlockHashFunction { /** *...
package all_problems; public class P949_LargestTimeForGivenDigits { public String largestTimeFromDigits(int[] arr) { String ans = ""; for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { for (int k = 0; k < 4; ++k) { if (i == j || i == k || j =...
package com.amsavarthan.social.hify.ui.fragment; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.amsava...
package com.portal.z.common.aspect; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.annotation.Aspect; import org.springframework.dao.DataAccessException; import org.springframework.stereotype.Component; @Aspect @Component public class ErrorAspect { //全てのクラスを対象 @AfterThrowing(value=...
package cn.bingoogolapple.qrcode.zxing; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import com.google.zxing.BarcodeFormat; import com.google.zxing.BinaryBitmap; import com.google.zxing.DecodeHintType; import com.google.zxing.MultiFormatReader; import com.google.zxing...
package org.hisp.dhis.reporting.document.action; /* * Copyright (c) 2004-2015, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retai...
/* * Copyright 2011 by TalkingTrends (Amsterdam, The Netherlands) * * 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://opensahara.com/licenses/apache-2.0 * * Unless required by...
package br.com.devcoffee.native_messaging.protocol; import javax.xml.bind.annotation.XmlElement; public class NativeResponse { @XmlElement(name = "message") private String message; public NativeResponse() { super(); } public String getMessage() { return message; } public void setMessage(String message...
package fmi.graph.maxspeed; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.nio.charset.Charset; public class Node extends fmi.graph.definition.Node { public Node(DataInputStream dis) throws IOException { super(dis); } public Node(String line) { super(...
package com.example.android.miwok; /** * Created by Rabilu on 7/8/2018. */ public class Word { /** Default Translation for the word **/ private String mDefaultTranslation; /** Default Translation for the word **/ private String mMiwokTranslation; /**Image resource id for the word*/ priva...
package com.github.dockerjava.core.util; /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 2011-2014 Oracle and/or its affiliates. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Com...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/kms/v1/resources.proto package com.google.cloud.kms.v1; /** * <pre> * [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] specifies how cryptographic operations are performed. * </pre> * * Protobuf enum {@code google.cloud.kms...
/******************************************************************************* * Copyright (c) 2020 Northrop Grumman Systems Corporation. * * 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 a...
/* * Copyright (C) 2020 xuexiangjys(xuexiangjys@163.com) * * 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 a...