text
stringlengths
7
995k
/* * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package com.sciatta.spring.aop.aspectj.supports; import com.sciatta.spring.aop.User; import lombok.extern.slf4j.Slf4j; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.*; import org.springframework.core.annotation.Order; import org.springframework.stereotype.Component; /** * Created by...
/* * The MIT License * Copyright (c) 2012 Microsoft Corporation * * 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 * to use,...
package com.java110.property.listener; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.java110.common.constant.BusinessTypeConstant; import com.java110.common.constant.ResponseConstant; import com.java110.common.constant.ServiceCodeConstant; import com.java110.common.constant....
// Copyright (c) 2003-present, Jodd Team (http://jodd.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // th...
package com.planet_ink.coffee_mud.Races; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.c...
package minestra.collection; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.OptionalDouble; import java.util.Random; import java.util.function.DoubleBinaryOperator; import java.util.function.DoubleConsumer; import java.util.function.DoubleFunct...
/**************************************************************** * 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...
package yeti; import java.io.*; import java.util.*; import javax.swing.JOptionPane; /** * This class reads the two files Pass and Fail line by line. * From each line it gets the value and assign it to the one of the two arrays. * The values from Pass.txt are stored in graphDataIntPass array * The values from Fa...
package org.thoughtcrime.securesms.components.reminder; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.net.Uri; import org.thoughtcrime.securesms.logging.Log; import android.widget.Toast; import org.thoughtcrime.securesms.R; import org....
package es.amplia.oda.dispatcher.opengate.operation.processor; import es.amplia.oda.core.commons.interfaces.Serializer; import es.amplia.oda.dispatcher.opengate.domain.*; import es.amplia.oda.operation.api.OperationUpdate; import lombok.Value; import java.util.List; import java.util.Map; import java.util.Objects; im...
/** * TLS-Attacker - A Modular Penetration Testing Framework for TLS * * Copyright 2014-2020 Ruhr University Bochum, Paderborn University, * and Hackmanit GmbH * * Licensed under Apache License 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package de.rub.nds.tlsattacker.core.protocol.handler; import de.r...
package com.yearfour.mercyproject.e_covidapp; import android.app.ProgressDialog; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widge...
/* * Copyright (c) 2011-2018, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * 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...
/* * 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 ...
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot; import static frc.robot.Constants.ControllerConstants.*; import static frc.robot.Constants.Drivetrai...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: POGOProtos.Rpc.proto package POGOProtos.Rpc; public interface WithMaxCpProtoOrBuilder extends // @@protoc_insertion_point(interface_extends:POGOProtos.Rpc.WithMaxCpProto) com.google.protobuf.MessageOrBuilder { /** * <code>int32 max_c...
//------------------------------------------------------------------------------ // Automatically generated by the Fast Binary Encoding compiler, do not modify! // https://github.com/chronoxor/FastBinaryEncoding // Source: test.fbe // FBE version: 1.10.0.0 //-------------------------------------------------------------...
package io.activej.csp; import io.activej.bytebuf.ByteBuf; import io.activej.bytebuf.ByteBufPool; import io.activej.bytebuf.ByteBufQueue; import io.activej.eventloop.Eventloop; import io.activej.promise.Promise; import io.activej.test.rules.ByteBufRule; import io.activej.test.rules.EventloopRule; import org.junit.Clas...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v6/resources/paid_organic_search_term_view.proto package com.google.ads.googleads.v6.resources; public interface PaidOrganicSearchTermViewOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googleads...
import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.TreeItem; import javafx.scene.control.TreeView; import javafx.scene.image.ImageView; import javafx.stage.Stage; public class TreeViewDemo extends Application { @Override // Override the start method in the Application class...
package com.morro.mall.order; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; @EnableDiscoveryClient @MapperScan("com.morro....
/* * ARX: Powerful Data Anonymization * Copyright 2012 - 2020 Fabian Prasser and contributors * * 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/LICE...
/* * Copyright (C) 2002-2017 Sebastiano Vigna * * 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...
package gumtree.spoon.diff; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.NoSuchElementException; import java.util.Optional; import java.util.stream.Collectors; import com.github.gumtreediff.actions.ActionGenerator; import com.github.gumtreediff.actions.model.Action...
/* * Copyright 2013-2017 Simba Open Source * * 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 a...
package org.firstinspires.ftc.Cobalt; import com.qualcomm.robotcore.hardware.DcMotor; /** * Created by Kilroy on 5/30/2017. */ public class TheNewerNewCobaltTransmission { HardwareCobalt robot = new HardwareCobalt(); public void DriveByInches(int inches, double speed){ boolean setup = false; ...
/* * Copyright (C) 2011-2014 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 b...
// // This file is auto-generated. Please don't modify it! // package org.opencv.ml; import org.opencv.core.Algorithm; import org.opencv.core.Mat; // C++: class StatModel //javadoc: StatModel public class StatModel extends Algorithm { public static final int UPDATE_MODEL = 1, RAW_OUTPUT =...
package com.designpattern.mediator; public interface Mediator { void changed(Colleague c); }
/** * 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...
/* * 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 * distribut...
package local.org.bouncycastle.asn1; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; public class BERGenerator extends ASN1Generator { private boolean _tagged = false; private boolean _isExplicit; private int _tagNo; protected BERGenerat...
package com.example.hjiang.gactelphonedemo; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); ...
/* * 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.webcheckers.ui; import com.google.gson.Gson; import com.webcheckers.appl.GameCenter; import com.webcheckers.appl.PlayerServices; import com.webcheckers.model.Player; import com.webcheckers.util.Message; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api....
/* * The MIT License * * Copyright 2020 Andreas Gautsch. * * 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 * to use, copy,...
/** * 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 Educational * Community License, Version 2.0 (the ...
package org.batfish.common.util; import static java.nio.charset.StandardCharsets.UTF_8; import static org.batfish.common.util.Resources.readResource; import com.google.common.hash.Hashing; import com.ibm.icu.text.CharsetDetector; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IO...
package com.sugardaddy.citascasualesconocergentenuevacercadeti.modules.merlin; public interface Bindable extends Registerable { void onBind(NetworkStatus networkStatus); }
/* * GUIHelper - Simple and interactive GUI constructor and manager. <https://github.com/JonathanxD/GUIHelper> * * The MIT License (MIT) * * Copyright (c) 2021 JonathanxD <jhrldev@gmail.com> * Copyright (c) contributors * * * Permission is hereby granted, free of charge, to any pers...
/* * Copyright 1999-2018 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...
/* * 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...
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // © 2011-2021 Telenav, Inc. // // 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 t...
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ /** * Provides the API for composite elements of the UI toolkit. * <a name="documentation"/><h2>UIT View Composite API</h2> * Contains the API for composite elements of the UI toolkit. A ...
package org.uniprot.store.config.returnfield.config; import java.io.Serializable; import java.util.List; import org.uniprot.store.config.returnfield.model.ReturnField; public interface ReturnFieldConfig extends Serializable { List<ReturnField> getAllFields(); List<ReturnField> getReturnFields(); List<R...
package com.salesmanager.test.shop.controller.customer.rest; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectWriter; import com.salesmanager.shop.model.customer.Customer; import com.salesmanager.shop.model.customer.PersistableCustomer; import com.salesmanager.shop.model....
package org.vaadin.addons.md_stepper; import org.vaadin.addons.md_stepper.collection.CollectionChangeNotifier; import org.vaadin.addons.md_stepper.collection.ElementAddListener; import org.vaadin.addons.md_stepper.collection.ElementAddListener.ElementAddEvent; import org.vaadin.addons.md_stepper.collection.ElementRemo...
package atelier_gfx; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.SQLException; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JLabel; import javax.swing.JOptionPane...
package noppes.npcs.constants; public enum EnumAnimation { NONE,SITTING,LYING,SNEAKING,DANCING,AIMING,CRAWLING,HUG,CRY, WAVING, BOW; public int getWalkingAnimation() { if(this == SNEAKING) return 1; if(this == AIMING) return 2; if(this == DANCING) return 3; if(this == CRAWLING) return 4; if(th...
package com.gzsll.hupu.widget; import android.content.Context; import android.graphics.drawable.BitmapDrawable; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.PopupWindow; import com.gzsll.hupu.R; public class PagePi...
package org.korecky.kafka.tutorial1; import java.util.Properties; import org.apache.kafka.clients.producer.KafkaProducer; import org.apache.kafka.clients.producer.ProducerConfig; import org.apache.kafka.clients.producer.ProducerRecord; import org.apache.kafka.common.serialization.StringSerializer; public class Produ...
package com.sme.springcloud.articleattribute.service.model; import com.sme.springcloud.common.model.APojoTest; /** * Unit tests of {@link Attribute1}. */ public class Attribute1Test extends APojoTest<Attribute1> { }
/* * 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.ksyun.ks3.exception.serviceside; import com.ksyun.ks3.exception.Ks3ServiceException; /** * @author lijunwei[lijunwei@kingsoft.com] * @date 2014年11月7日 上午10:39:47 * @description The storage class you specified is not valid. **/ public class InvalidStorageClassException extends Ks3ServiceException{ privat...
/* * Copyright 2012-2015 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright (c) 2008-2019, Hazelcast, Inc. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package com.udacity.pricing.api; import static org.springframework.hateoas.mvc.ControllerLinkBuilder.linkTo; import static org.springframework.hateoas.mvc.ControllerLinkBuilder.methodOn; import com.udacity.pricing.domain.price.Price; import com.udacity.pricing.domain.price.PriceRepository; import java.math.BigDecimal...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto package com.google.pubsub.v1; public final class PubsubProto { private PubsubProto() {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void regist...
package com.sap.olingo.jpa.metadata.core.edm.mapper.exception; /* * Copied from org.apache.olingo.odata2.jpa.processor.api.exception.ODataJPAModelException * See also org.apache.olingo.odata2.jpa.processor.core.exception.ODataJPAMessageServiceDefault */ public class ODataJPAModelException extends ODataJPAException ...
//imports import java.util.*; // CS 0445 Spring 2016 // Read this class and its comments very carefully to make sure you implement // the class properly. Note the items that are required and that cannot be // altered! Generally speaking you will implement your MyStringBuilder using // a singly linked list of nodes. ...
package com.clover.sdk.cashdrawer; import android.accounts.Account; import android.content.Context; import android.hardware.usb.UsbDevice; import android.hardware.usb.UsbManager; import com.clover.sdk.util.CloverAccount; import java.util.HashSet; import java.util.Map; import java.util.Set; class APG554aCashDrawer e...
package b.l.a.c.c.l; public class b extends Exception { /* JADX WARNING: Illegal instructions before constructor call */ /* Code decompiled incorrectly, please refer to instructions dump. */ public b(@androidx.annotation.NonNull com.google.android.gms.common.api.Status r4) { /* r3 = thi...
package party.lemons.biomemakeover.gui; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.network.PacketByteBuf; import net.minecraft.screen.ScreenHandler; import net.minecraft.util.math.BlockPos; import party.lemons.biomemakeover.init.BMScreens; ...
/* * Copyright (C) 2018 Eric Afenyo * * 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 t...
/* * 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 ...
/* * Copyright 2002-2017 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...
/* * 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 ...
/* * Copyright 2014 DV Bern AG, Switzerland * * Das vorliegende Dokument, einschliesslich aller seiner Teile, ist urheberrechtlich * geschuetzt. Jede Verwertung ist ohne Zustimmung der DV Bern AG unzulaessig. Dies gilt * insbesondere fuer Vervielfaeltigungen, die Einspeicherung und Verarbeitung in * elektronische...
package com.ticketmanor.rest.client; import java.util.Base64; import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.client.WebTarget; import javax.ws.rs.core.MediaType; import org.glassfish.jersey.jackson.JacksonFeature; //import org.glassfish.jersey.jackson.JacksonFeature; ...
/* * Copyright 2010 Scott Fines * * 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 agree...
/* * 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.aman.java.student.service; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import com.aman.java.student.bean.StudentBean; import com.aman.java.student.jdbcconnection.JdbcConnection; public class UpdateStudentService { public boolean updateStudent(StudentB...
package top.ppnt.utils; import com.jfinal.template.Engine; /** * @author Ping E Lee * */ public class EngineUtils { private static final String RESOURCE_BASE_PATH = "/META-INF/resources/"; private static Engine engine = null; private EngineUtils() { } public static Engine getEngine() { if (engine =...
/* * Copyright © 2017 Cask Data, Inc. * * 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 t...
package TAD; import java.io.*; public class Usuario implements Serializable { private String bi, nome, apelido,rua,bairro,nomeUsuario,email, dadosUser, dadosConta; private int celular, quarteirao,nrConta,senha; private Usuario user; private String txtUsuario; public Usuario(){ } ...
package model; /** * * @author Antonio */ public class ProcesadorImplRed implements Procesador { public void procesar (String s){ System.out.println("--- IMPRIMIENDO PARA LA RED ---"); System.out.println(s); //Abro socket (IP, puerto) //socket.send() } }
package io.github.korzepadawid.springtaskplanning.dto; import java.time.ZonedDateTime; import javax.validation.constraints.Future; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; public class TaskCreateRequest { @NotNull @Size(min = 1, max = 70) private String title; @...
package com.ange.demo.parallax; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import com.ange.demo.R; /** * Created by ange on 2017/7/29. */ public class ParallaxActivity extends AppCompatActivity { @Override protected void onCreat...
package org.ophion.jujube.internal.multipart; /** * Segments/states of a multipart message, conforming to: * * <code> * multipart-body := preamble 1*encapsulation close-delimiter epilogue<br> * encapsulation := delimiter body CRLF<br> * delimiter := "--" boundary CRLF<br> * close-delimiter := "--" boundary "--"...
package com.vadrin.mmtstrain.models; public class Chat { private String message; private boolean theEnd; public String getMessage() { return message; } public boolean isTheEnd() { return theEnd; } public void setMessage(String message) { this.message = message; } public void setTheEnd(boolean theEnd...
package com.agonyengine.model.command.impl; import com.agonyengine.model.actor.Actor; import com.agonyengine.model.command.binding.ActorInventory; import com.agonyengine.stomp.model.GameOutput; import com.agonyengine.repository.ActorRepository; import com.agonyengine.service.CommService; import com.agonyengine.service...
package eu.bcvsolutions.idm.core.model.entity; import java.util.UUID; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Index; import javax.persistence.Table; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; import javax.validation.con...
/** * */ package org.sagacity.sqltoy.cache; import org.sagacity.sqltoy.config.model.SqlToyConfig; /** * @project sagacity-sqltoy4.0 * @description 定义分页查询优化器的接口,便于拓展 * @author chenrenfei <a href="mailto:zhongxuchen@gmail.com">联系作者</a> * @version id:PageOptimizeCache.java,Revision:v1.0,Date:2016年11月24日 */ publi...
/* ****************************************************************************** * Copyright (c) 2012 IkChan Kwon kighie@gmail.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 * * ...
package com.github.dactiv.basic.socket.server.domain.enitty; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.github.dactiv.basic.commons.SystemConstants; import com.github.dactiv.basic.socket.server....
/* * Copyright 1999-2018 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 a...
/* * Copyright 2014-2015 Hippo B.V. (http://www.onehippo.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 ...
package me.shihab.revolut.exception; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; @Provider public class RuntimeException extends Exception implements ExceptionMapper<RuntimeException> { ...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.network.v2020_08_01.implementation; import com.m...
package pp.facerecognizer; import androidx.appcompat.app.AppCompatActivity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView;...
package BinaryHeap; import Person.Person; public class BinNode { private Person element; private int priority; BinNode(Person element, int priority) { this.element = element; this.priority = priority; } public boolean isEmpty() { if (element == null) return true; else return false; } publ...
package Client.Server; import Client.ClientError; import Client.DB.Persister; import Client.Crypto.KeyPairManager; import Client.Message; import javax.crypto.BadPaddingException; import javax.crypto.Cipher; import javax.crypto.IllegalBlockSizeException; import javax.crypto.NoSuchPaddingException; import java.io.IOExc...
package de.eimantas.eimantasbackend.helpers; import de.eimantas.eimantasbackend.entities.Account; import java.time.LocalDate; public class PopulateStuff { public static Account getAccount() { Account acc = new Account(); acc.setName("testname"); acc.setBank("test"); acc.setBusinessAccount(true); ...
package com.stopboot.admin.strategy.generator.impl.admin;/** * @version:0.0.1 * @author: Lianyutao * @create: 2019-10-23 10:01 * @description: **/ import com.stopboot.admin.model.help.generator.GeneratorInfo; import com.stopboot.admin.strategy.generator.SbGeneratorStrategy; import com.stopboot.admin.strategy.gene...
package com.example.share.adapter; import java.util.List; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; public class MainFragmentAdapter extends FragmentPagerAdapter{ private List<Fragment> fragments; public MainFragmentAd...
// Copyright 2019 The Bazel Authors. 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
package com.pearadmin.system.controller; import com.github.pagehelper.PageInfo; import com.pearadmin.common.tools.SecurityUtil; import com.pearadmin.common.tools.SequenceUtil; import com.pearadmin.common.tools.string.Convert; import com.pearadmin.common.web.base.BaseController; import com.pearadmin.common.web.domain.r...
/* * 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 ...
/* * 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 ...