text
stringlengths
7
1.01M
/* * 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 com.thinkgem.jeesite.modules.weixin.wxpay.util; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.net.URL; import java.net.URLConnection; import org.apache.log4j.Logger; public class HttpUtil { public static Logger log...
/* * 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 ...
/* * The MIT License (MIT) * * Copyright (c) 2014 Gabriel Harris-Rouquette * * 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 right...
import cc.refectorie.proj.relation.protobuf.DocumentProtos.Relation; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintStream; class RelationReader { public static void main(String[] args) throws Exception { String filePath = args[0]; String des...
/* * 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 com.book.dao; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.jdbc.core.RowCallbackHandler; import org.springframework.stereotype.Repository; import com.book.domain.Lend; import java.sql.Array; import java.sql.ResultS...
package com.github.houbb.segment.support.segment.impl; import com.github.houbb.heaven.support.instance.impl.Instances; import com.github.houbb.segment.api.ISegment; /** * 分词实现工具类 * @author binbin.hou * @since 0.0.7 */ public final class Segments { private Segments(){} /** * 默认实现 * @return 结果 ...
/* * 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 DAO; import Engine.Conexao; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import Modelos.cliente; public class Editar { cliente objCli = new cliente(); public boolean Atualizar(cliente objCli) throws SQLException { Conexao conexao = new Conexao(...
package com.kailash.tutorial.swing.ch30.gui; import com.kailash.tutorial.swing.ch30.model.Person; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.List; public class...
package com.tudou; import com.tudou.common.util.A; import com.tudou.common.util.LogUtil; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.support....
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.network.implementation; import com.azure.core.annotation.BodyParam; import com.azure.core.annotation.Delete; import com.azure.co...
/* * Copyright (c) 2008-2012, Hazel Bilisim Ltd. 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 requir...
/* * 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 LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.vulkan; import javax.annotation.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.Checks.*; import static org.lw...
/* * Copyright 2002-2018 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...
/** * Copyright 2012 multibit.org * * Licensed under the MIT license (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/mit-license.php * * Unless required by applicable law or agreed to in writing,...
package edu.sfsu.cs.orange.ocr; import edu.sfsu.cs.orange.ocr.CaptureActivity; import android.os.Handler; import android.os.Looper; import java.util.concurrent.CountDownLatch; /** * This thread does all the heavy lifting of decoding the images. * * The code for this class was adapted from the ZXing project: http...
package io.nutz.nutzsite.module.test.services; import io.nutz.nutzsite.common.service.BaseService; import io.nutz.nutzsite.module.test.models.Monitor; /** * 数据接口 服务层实现 * * @author haiming * @date 2021-03-27 */ public interface MonitorService extends BaseService<Monitor> { Object tableList(int pageNum,int ...
/** * 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 sagiyehezkel.matchappserver.games; import java.util.ArrayList; import java.util.Arrays; import sagiyehezkel.matchappserver.Util; public class ConnectFour extends Game { // Number of connected discs to look for in order to win final private int NUM_OF_CONNECTED_TO_WIN = 4; final private int NUM_OF_ROWS ...
package com.github.christianfranco.geomatch.entities; import org.junit.Test; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; /** * Created by Christian Franco on 11/12/2016. */ public class PhoneNumberTest { @Test public void newPhoneNumber() throws Exce...
package org.cleanas2.service.net; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.http.*; import org.apache.http.entity.StringEntity; import org.apache.http.impl.BHttpConnectionBase; import org.apache.http.protocol.HttpContext; import org.apache.http.protocol.Http...
/* * Copyright 2002-2013 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...
package com.baeldung.example; import com.baeldung.junit.tags.example.EmployeeDAO; import org.hamcrest.CoreMatchers; import org.junit.Assert; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.MockitoAnnotations; import org...
/* * Copyright 2002-2021 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...
// Class private_indirect_write // Generated on Tue Nov 16 15:44:49 UTC 1999 // class private_indirect_write { private int foo; class private_indirect_write_inner { void test () { } class other { void test () { foo = 670; } } } void foo () { private_indirect_write_...
package org.dhis2.utils.customviews; import android.app.TimePickerDialog; import android.content.Context; import android.content.DialogInterface; import android.text.format.DateFormat; import android.util.AttributeSet; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import a...
/* * Copyright (c) 2013 DataTorrent, 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 by a...
package colorpool.testbutton; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import colorpool.core.*; //listener per il bottone di test public class TestButtonListener implements ActionListener { @Override public void actionPerformed(ActionEvent e) { Movements.stopBalls(); Game.getGa...
/* * Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. */ package com.intellij.struts.inplace.reference; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiReference; import com.intellij.psi.xml.XmlAttributeValue; im...
/** * Copyright © 2016-2019 The Thingsboard 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 applicab...
package uk.ac.strath.contextualtriggers.data; import android.support.annotation.Nullable; import java.lang.reflect.Type; import java.time.LocalDate; import java.util.HashMap; import java.util.Map; public class StepAndGoalData extends AbstractData { private HashMap<String, DayData> history; public StepAndGoa...
package com.litongjava.modules.dev.tools.file.sync.controller; import com.jfinal.core.Controller; import com.jfinal.core.Path; /** * @author create by ping-e-lee on 2021年7月9日 下午4:42:49 * @version 1.0 * @desc */ @Path("/") public class IndexController extends Controller { public void index() { // renderText...
/** * Copyright (c) The openTCS Authors. * * This program is free software and subject to the MIT license. (For details, * see the licensing information (LICENSE.txt) you should have received with * this copy of the software.) */ package org.opentcs.kernel.xmlhost.status; import static java.util.Objects.requireN...
/* * The MIT License * * Copyright 2015 Thibault Debatty. * * 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...
/*================================================================================ Copyright (c) 2013 Steve Jin. 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 re...
package in.jvapps.disable_battery_optimization; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.util.Log; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.app.AlertDialog; import com.thelittlefireman.appkille...
package com.sanshengshui.netty.client; import io.netty.channel.ChannelHandler.Sharable; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandler; @Sharable public class ClientHandler extends SimpleChannelInboundHandler<String> { /** * 接受server返回的信息 * * @pa...
package me.lusory.relate.query.operation; import org.springframework.data.relational.core.mapping.RelationalPersistentEntity; import reactor.core.publisher.Mono; import java.util.HashSet; import java.util.Set; abstract class AbstractProcessor<R extends AbstractProcessor.Request> { protected abstract Mono<Void> ...
package rp.util; import java.util.Hashtable; import lejos.robotics.RangeReadings; import rp.config.RangeScannerDescription; /** * * Utility functions to make using certain sensors easier. * * @author Nick Hawes * */ public abstract class SensorUtils { public static final Hashtable<Integer, String> COLOUR_N...
package com.android.assistant; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.annotati...
/* ### * IP: GHIDRA * * 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 writin...
/* * Copyright 2017 Apereo * * 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 wr...
/* * Copyright 2018 Red Hat, Inc. and/or its affiliates. * * 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 app...
/* * 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 ...
/** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ package com.twilio.rest.api.v2010.account; import com.twilio.base.Updater; import com.twilio.converter.Promoter; import com.twilio.exception.ApiConnectionException; import com.twilio.exception.ApiExcept...
package gobblin.metrics.metric.filter; import static org.mockito.Mockito.mock; import com.codahale.metrics.Metric; import org.testng.Assert; import org.testng.annotations.Test; /** * Tests for {@link MetricNameRegexFilter}. */ @Test public class MetricNameRegexFilterTest { @Test public void matchesTest() { ...
package com.github.diegopacheco.dynomite.cluster.checker.cluster.cache; import java.util.concurrent.TimeUnit; import javax.inject.Singleton; import org.apache.log4j.Logger; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import com.google.common.cache.RemovalListener; import com.g...
package no.uib.probe.csf.pr.touch.view.core; import com.vaadin.event.LayoutEvents; import com.vaadin.event.MouseEvents; import com.vaadin.server.ThemeResource; import com.vaadin.shared.ui.label.ContentMode; import com.vaadin.ui.Alignment; import com.vaadin.ui.HorizontalLayout; import com.vaadin.ui.Image; import com.va...
package devjluvisi.mlb.api.gui.pages; import devjluvisi.mlb.api.gui.MenuView; import org.bukkit.event.inventory.ClickType; import org.bukkit.inventory.ItemStack; public interface Page { /** * Gets the name of the page. If the name is null, the name of the menu would be * used. * * @return the...
package org.alee.component.skin.pack; import android.content.Context; import androidx.annotation.NonNull; import org.alee.component.skin.util.task.TaskQueue; import org.alee.component.skin.util.task.template.ITask; import org.alee.component.skin.util.task.template.ITaskQueue; /**************************************...
/* * 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 2021 Collate * 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,...
/** * * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable. * * 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/...
package com.demo.api.query; import java.io.Serializable; import lombok.AllArgsConstructor; import lombok.Data; @Data @AllArgsConstructor public class FindGiftCardQry implements Serializable { private String id; }
/* * ==================================================================== * 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 vim; import groovy.lang.Binding; import groovy.lang.GroovyShell; import java.io.IOException; import java.io.File; public class Groovy implements Interpreter { private Binding binding; private GroovyShell shell; public Groovy() { binding = new Binding(); binding.setVariable("Vim",...
package org.springframework.cloud.client.serviceregistry; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.NoSuchBeanDefinitionException; import org.springframework.boot.WebApplicationType; import org.springframework.boot.builder.SpringApplicationBuilder; import org.spr...
package edu.fiuba.algo3.modelo.continente; import java.util.*; import edu.fiuba.algo3.modelo.juego.Jugador; import edu.fiuba.algo3.modelo.juego.Pais; public abstract class Continente { private final String nombre; private final HashMap<String, Pais> paises = new HashMap<>(); public Continente(String unN...
package com.small.saasdriver.utils.bitmap; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import android.graphics.Bitmap; import android.graphics.Bitmap.CompressFormat; import android.graphics.BitmapFactory; import android.os.Environment; /** * 本地缓存工具类 * * */ public clas...
// Copyright (c) 2015 ServiceStack LLC. All rights reserved. // License: https://servicestack.net/bsd-license.txt package net.servicestack.client; import java.util.ArrayList; public class WebServiceException extends RuntimeException { int StatusCode; String StatusDescription; String ResponseBody; R...
package com.alipay.api.domain; import java.util.Date; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 商户订单中心商品订单开放接口返回结果 * * @author auto create * @since 1.0, 2018-11-27 15:37:09 */ public class ItemOrderOpenData extends AlipayObject { private static f...
package me.chanjar.weixin.cp.constant; import lombok.experimental.UtilityClass; /** * <pre> * 企业微信常量 * Created by Binary Wang on 2018/8/25. * </pre> * * @author <a href="https://github.com/binarywang">Binary Wang</a> */ @UtilityClass public class WxCpConsts { /** * 企业微信端推送过来的事件类型. * 参考文档:https://work.w...
/* * Copyright 2007 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 b...
package co.lq.modules.quartz.domain; import java.io.Serializable; import java.sql.Timestamp; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import javax.val...
/* * TaskUnifier * Copyright (c) 2013, Benjamin Leclerc * 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 retain the above copyright * n...
/* * Copyright 2011 JBoss 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 to in ...
/* * Licensed to the University of California, Berkeley 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 no...
/** * Created by java-echarts library. * @author: cattong <aronter@gmail.com> */ package com.beyongx.echarts.charts.line.select; import java.io.Serializable; import java.util.Map; //import lombok.Data; import lombok.EqualsAndHashCode; /** * * * {_more_} */ @lombok.Data @EqualsAndHashCode(callSuper = false...
package com.minhtetoo.goodfood.events; import android.content.Context; import com.minhtetoo.goodfood.data.vo.FeaturedVO; import com.minhtetoo.goodfood.data.vo.GuideVO; import com.minhtetoo.goodfood.data.vo.PromotionVO; import java.util.List; /** * Created by min on 1/19/2018. */ public class RestAPIEvent { ...
/* * Copyright [1999-2015] Wellcome Trust Sanger Institute and the * EMBL-European Bioinformatics Institute * Copyright [2016-2018] EMBL-European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
/* * Original author: Daniel Jaschob <djaschob .at. uw.edu> * * Copyright 2018 University of Washington - Seattle, WA * * 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 * * ...
/*- * ============LICENSE_START========================================== * ONAP Portal * =================================================================== * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * =================================================================== * * Unless othe...
/* * (C) Copyright 2021 Boni Garcia (https://bonigarcia.github.io/) * * 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 requir...
package dicounter.message; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder; import dicounter.overlaynet.node.NodeAddress; import java.util.UUID; import lombok.Builder; import lombok.Va...
/* * Copyright 2012-2016 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 agr...
package org.apereo.cas.web.flow; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import org.apereo.cas.config.CasCoreAuthenticationServiceSelectionStrategyConfiguration; import org.apereo.cas.config.CasCoreConfiguration; import org.apereo.cas.config.CasCoreServicesConfiguration; import org.apereo.cas...
package org.firstinspires.ftc.teamcode.teleop; import com.edinaftcrobotics.drivetrain.Mecanum; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DigitalChannel; import or...
package com.epicodus.backtalkr.adapters; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.epicodus.backtalkr.R; import com.epicodus.backtalkr.models.Message; import java.util.ArrayLis...
/** * Copyright (C) 2011 rwoo@gmx.de * * 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 org.uma.jmetal.operator.mutation.impl; import org.uma.jmetal.operator.mutation.MutationOperator; import org.uma.jmetal.solution.permutationsolution.PermutationSolution; import org.uma.jmetal.util.checking.Check; import org.uma.jmetal.util.pseudorandom.BoundedRandomGenerator; import org.uma.jmetal.util.pseudora...
package ocd.dao.entities; /** * Created by t00191774 on 16/11/2016. * */ public class Item { private int itemID; private int typeID; private String itemName; private String typeName; private double price; private double roomsToEquip; private int bonusHealth; private int bonusDefense;...
package net.andreho.common.utils; import net.andreho.common.anno.Order; import java.util.Comparator; import java.util.Objects; /** * <br/>Created by a.hofmann on 23.03.2017 at 15:34. */ public class OrderUtils implements Comparator<Object> { private static final Class<Order> ORDER_ANNOTATION_CLASS = Order.cla...
// Copyright (c) 2002-2014 JavaMOP Team. All Rights Reserved. /* * Copyright (C) 2007 Julio Vilmar Gesser. * * This file is part of Java 1.5 parser and Abstract Syntax Tree. * * Java 1.5 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser...
package com.github.sahara3.ssolite.spring.server.repository; import java.time.OffsetDateTime; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import org.springframework.lang.Nullable; import org.springframework.util.Assert; import com.github.sahara3.ssolite.core.model.SsoLit...
/* * Project Name: SJBlog * Class Name: FileTool.java * * Copyright © 2011-2016 SteveJrong All Rights Reserved. * * Licensed under the SteveJrong * * https://www.steve.jrong.top/ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an ...
/* * LanguageTool, a natural language style checker * Copyright (C) 2019 Sohaib Afifi, Taha Zerrouki * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the L...
package edu.buaa.scse.niu.wechat.common.utils; import java.util.UUID; public class UUIDGenerator { /** * generate 36bytes UUID string with '-' * eg.3d13cba3-32c6-494c-996c-17a23b0d8085 * @return */ public static String getNext(){ UUID uuid=UUID.randomUUID(); return uuid.toString(); } ...
package com.javarush.task.task32.task3205; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; public class CustomInvocationHandler implements InvocationHandler { SomeInterfaceWithMethods original; public CustomInvocationHandler(SomeInterfaceWithMethods original) { this.origi...
import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class StronglyConnected { private static int numberOfStronglyConnectedComponents(ArrayList<Integer>[] adj) { //write your code here return 0; } public static void main(String[] args) { Scanne...
package me.deadlight.ezchestshop.Data; import me.deadlight.ezchestshop.Data.SQLite.Database; import me.deadlight.ezchestshop.EzChestShop; import me.deadlight.ezchestshop.Utils.Objects.CheckProfitEntry; import org.bukkit.OfflinePlayer; import org.bukkit.inventory.ItemStack; import java.util.HashMap; import java.util....
package org.darkstorm.minecraft.darkbot.wrapper.commands; import org.darkstorm.minecraft.darkbot.*; import org.darkstorm.minecraft.darkbot.wrapper.MinecraftBotWrapper; public abstract class AbstractCommand implements Command { protected final MinecraftBotWrapper controller; protected final MinecraftBotImpl bot; p...
package ix.ginas.utils.validation; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; i...
package org.riversun.jmws; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** DUMMY TRANSLATION(DRY RUN MODE) */ public class AppTest extends TestCase { /** DUMMY TRANSLATION(DRY RUN MODE) */ public AppTest(String testName) { super(testName); } /** DUMMY TRAN...
/* * Copyright (c) 2015 WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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 * * http://www.apache.org/lic...
/* * Copyright 2012 GitHub 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 to in ...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.example.hellonotes; public final class R { public static final class attr { } public static final class dimen { ...