text
stringlengths
7
995k
package com.compis; public class Symbol { private String symbol = ""; public Symbol(String symbol) { this.symbol = symbol; } @Override public String toString() { return symbol; } @Override public boolean equals(Object obj) { if (obj == null) { return false; } if (getClass() != ...
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.xoai.services.api; public interface ServiceResolver { <T> T getService (Class<T...
/* * Copyright 2013 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 ap...
package com.publiccms.views.controller.admin.cms; import static com.publiccms.common.tools.ExtendUtils.getExtendString; import static com.publiccms.common.tools.ExtendUtils.getSysExtentDataMap; import static com.sanluan.common.tools.LanguagesUtils.getMessage; import static com.sanluan.common.tools.HTMLUtils.removeHtml...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. 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 Common * Development and Distribution License("CDDL") (...
package com.avaloninc.web.commons.api.responses; import lombok.Data; /** * @Author: wuzhiyu. * @Date: 2018-04-26 01:41:20. * @Description: */ @Data public class Response<T> { private RespMeta meta; private T data; }
package com.example.dao; import org.springframework.stereotype.Repository; /** * Oracle * @author dolyw.com * @date 2019/4/5 17:53 */ @Repository public interface OracleGeneratorDao extends GeneratorDao { }
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.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.apache.org/license...
package com.google.api.client.repackaged.com.google.common.base; import com.google.api.client.repackaged.com.google.common.annotations.*; import javax.annotation.*; import com.google.errorprone.annotations.*; @GwtCompatible public interface Predicate<T> { @CanIgnoreReturnValue boolean apply(@Nullable final T ...
package datadog.trace.agent.tooling; import static datadog.trace.agent.tooling.ClassLoaderMatcher.BOOTSTRAP_CLASSLOADER; import static datadog.trace.bootstrap.WeakMap.Provider.newWeakMap; import datadog.trace.bootstrap.WeakMap; import java.io.File; import java.io.IOException; import java.lang.ref.WeakReference; impor...
package com.xdl.util.props2yaml; /** * @author xqchen */ class ValueConverter { public final static String TRUE_STR = "true"; public final static String FALSE_STR = "false"; public static Object asObject(String string) { if (TRUE_STR.equalsIgnoreCase(string) || FALSE_STR.equalsIgnoreCase(string)...
package com.antoinedev.Exercice3; public class Boite { public Boite() { } public void Ouvrir(Personnage p) { } }
/** * **************************************************************************** * Copyright (c) 2010-2016 by Min Cai (min.cai.china@gmail.com). * <p> * This file is part of the Archimulator multicore architectural simulator. * <p> * Archimulator is free software: you can redistribute it and/or modify * it und...
package uzc.kit.entity.response.http; @SuppressWarnings("unused") public final class AccountBlockIDsResponse extends BRSResponse { private final String[] blockIds; public AccountBlockIDsResponse(String[] blockIds) { this.blockIds = blockIds; } public String[] getBlockIds() { return bl...
/** * 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.articulate.sigma; /** This code is copyright Articulate Software (c) 2003. Some portions copyright Teknowledge (c) 2003 and reused under the terms of the GNU license. This software is released under the GNU Public License <http://www.gnu.org/copyleft/gpl.html>. Users of this code also consent, by use of t...
package tue.shop4cf.integration.persistence.app.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import tue.shop4cf.integration.persistence.app.model.Role; @Repository public interface RoleRepository extends JpaRepository<Role,Long> { }
/* * XML Type: JoinOperator * Namespace: http://schemas.microsoft.com/xrm/2011/Contracts * Java type: com.microsoft.schemas.xrm._2011.contracts.JoinOperator * * Automatically generated - do not modify. */ package com.microsoft.schemas.xrm._2011.contracts.impl; /** * An XML JoinOperator(@http://schemas.microsoft...
/* * Copyright (C) 2006-2022 Talend Inc. - www.talend.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 applicabl...
package rs.fon.eklubmobile; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { supe...
package org.hisp.dhis.datasource; /* * Copyright (c) 2004-2016, 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 retain the above cop...
package classesandobjects.callingconstructors; public class Rectangle { double length, width; public double perimeter() { return 2 * (length + width); } public double area() { return length * width; } public static void main(String[] args) { Rectangle r=new Rectangle(6, 5);...
package de.zalando.ep.zalenium.proxy; import static org.awaitility.Awaitility.await; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.timeout; import static org.mockito.Mockito.verify; import static o...
package estados; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Rectangle; import java.awt.image.BufferedImage; import java.io.IOException; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import javax.swing.JOptionPane; import com.google.gson.Gson; ...
/** * 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.example.reactnativekarte; import com.facebook.react.ReactActivity; public class MainActivity extends ReactActivity { /** * Returns the name of the main component registered from JavaScript. This is used to schedule * rendering of the component. */ @Override protected String getMainComponen...
/* * Copyright (c) 2018. paascloud.net All Rights Reserved. * 项目名称:paascloud快速搭建企业级分布式微服务平台 * 类名称:UacRoleUser.java * 创建人:刘兆明 * 联系方式:paascloud.net@gmail.com * 开源地址: https://github.com/paascloud * 博客地址: http://blog.paascloud.net * 项目官网: http://paascloud.net */ package com.paascloud.provider.model.domain; impor...
package com.sean.reminderapp.data; import com.sean.reminderapp.Reminder; import java.util.List; /** * Created by Sean on 7/4/2017. */ public interface DBHandler { public void addReminder(Reminder reminder); public Reminder getReminder(int id); public List<Reminder> getAllReminders(); public int ge...
package wooteco.subway.path.domain; import org.jgrapht.graph.WeightedMultigraph; import wooteco.subway.line.domain.Line; import wooteco.subway.line.domain.Section; import wooteco.subway.station.domain.Station; import java.util.List; import java.util.stream.Collectors; public class SubwayGraph extends WeightedMultigr...
/** * 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...
import java.io.*; public class TestObjectOutputStream { public static void main(String [] args) throws IOException { ObjectOutputStream output = new ObjectOutputStream(new FileOutputStream("object.dat")); output.writeUTF("John"); output.writeDouble(85.5); output.writeObject(new java...
/* * Copyright 2015 Nokia Solutions and Networks * Licensed under the Apache License, Version 2.0, * see license.txt file for details. */ package org.rf.ide.core.testdata.mapping.testcases; import java.util.List; import java.util.Stack; import org.rf.ide.core.testdata.mapping.table.IParsingMapper; import org.rf.i...
/* * 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 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 m...
package org.fest.assertions.api.filter; import static junit.framework.Assert.assertEquals; import static org.fest.assertions.api.Assertions.assertThat; import static org.fest.assertions.api.filter.Filters.filter; import static org.junit.Assert.fail; import org.junit.Test; import org.fest.test.Player; import org.fe...
package com.tudou.common.util; import com.google.common.io.Files; import java.io.File; import java.io.IOException; import java.net.URL; import java.nio.charset.StandardCharsets; /** 自动生成 mybatis 的 enum handle */ public class GenerateEnumHandle { private static final String PLACEHOLDER = "CustomEnumClass"; ...
package br.gov.siscomex.portalunico.cct_ext.model; import java.util.ArrayList; import java.util.List; import javax.validation.Valid; import javax.validation.constraints.NotNull; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElemen...
package com.itech4kids.skyblock.Listeners; import com.itech4kids.skyblock.CustomMobs.SEntity; import com.itech4kids.skyblock.Events.SkyblockEntitySkillGainEvent; import com.itech4kids.skyblock.Events.SkyblockSkillExpGainEvent; import com.itech4kids.skyblock.Main; import com.itech4kids.skyblock.Enums.SkillType; import ...
/* * This file is part of LuckPerms, licensed under the MIT License. * * Copyright (c) lucko (Luck) <luck@lucko.me> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.accessservices.digitalarchitecture.ffdc; import org.odpi.openmetadata.frameworks.auditlog.messagesets.AuditLogMessageDefinition; import org.odpi.openmetadata.frameworks.auditlog.messagesets....
/** * 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 hu.bme.aut.thesis.json.schema.compiler.restriction; public class Constants { public static final String DESCRIPTION = "description"; public static final String EXACT_ITEMS = "exactItems"; public static final String ITEMS = "items"; public static final String MAXIMUM = "maximum"; public stat...
class KR_q7sl6NxbFPN { public boolean[] I () { return !-new void[ --!-21164347.E8bNIMmB6G6F6U()].iD; !-!-!WbtcL.WIu; void[][] fz47V1daNh = -new V3RKQ7_[ !( F().aAgkqSrb6mose())[ !!this[ !!true.tL1iP1()]]].BeWCVRH1ng; SfMvZfzP1IgZe[][] TFez44VV; } public static void L97JKgSH...
/* Derby - Class com.pivotal.gemfirexd.internal.tools.JDBCDisplayUtil 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 t...
package com.huaweicloud.sdk.vpc.v2.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import java.util.function.Consumer; import java.util.Objects; ...
package com.ss.rlib.common.database; import com.ss.rlib.common.logging.Logger; import com.ss.rlib.common.logging.LoggerManager; import com.ss.rlib.common.util.array.Array; import com.ss.rlib.common.util.array.ArrayFactory; import org.jetbrains.annotations.NotNull; import java.sql.Connection; import java.sql.SQLExcept...
package com.github.aureliano.achmed.client.os; import static org.junit.Assert.assertEquals; import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; import org.junit.Test; import com.github.aureliano.achmed.client.exception.ServiceResourceException; import com.github.aureliano.achmed.cli...
import javax.swing.*; import java.awt.*; import java.awt.event.*; class Screen extends JFrame implements ActionListener{ JRadioButton rb1, rb2, rb3, rb4; JButton a, b; Screen(){ Image icon = Toolkit.getDefaultToolkit().getImage("res/icon.png"); rb1 = new JRadioButton("A. Test"); ...
package io.jooby.internal; import io.jooby.Context; import io.jooby.MessageEncoder; import io.jooby.Route; import io.jooby.SneakyThrows; import org.junit.jupiter.api.Test; import java.util.Collections; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertT...
/* * (C) Copyright Uwe Schindler (Generics Policeman) and others. * * 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 exercicio; import java.text.DecimalFormat; import java.util.Scanner; public class CalculadoraMedia { public static void main(String[] args) { // variáveis String nome; double nota1, nota2, media; // objetos Scanner teclado = new Scanner(System.in); DecimalFormat formatador = new DecimalFormat...
// 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.subsystems; import edu.wpi.first.wpilibj.PWMVictorSPX; import edu.wpi.first.wpilibj.SpeedControllerGr...
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE package org.bytedeco.tesseract; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import org.bytedeco.leptonica.*; import static org.bytedeco.leptonica.global.le...
/* -*- Mode: Java; tab-width: 4 -*- * * Copyright (c) 2004 Apple Computer, 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/lice...
/******************************************************************************* * Copyright (C) 2021 Fred D7e (https://github.com/yafred) * * 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 Softw...
/* * 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 br.com.abc.javacore.nio.test; import java.io.IOException; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; public class DirectoryStreamTest { public static void main(String[] args) { Path dir = Paths.get("pasta"); try(...
package org.kincajou; import com.intellij.lang.java.JavaImportOptimizer; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.editor.Document; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.EmptyRunnable; import com.intellij.psi.PsiDocumentManager; import com.intell...
package ru.geracimov.otus.java.testing; import ru.geracimov.otus.java.testing.internal.Results; import ru.geracimov.otus.java.testing.internal.TestsRunner; public class Main { public static void main(String[] args) { TestsRunner testsRunner = new TestsRunner(ExperimentalClassNoOne.class); final R...
/* * Copyright 2014 - 2016 Real Logic 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 applicable law or ag...
package com.yapp.lonessum.domain.user.client; import com.yapp.lonessum.domain.user.dto.KakaoTokenRequest; import com.yapp.lonessum.domain.user.dto.KakaoTokenResponse; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.PostMa...
/* * Copyright 2008-2011 Nokia Siemens Networks Oyj * * 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...
/* * Camel EndpointConfiguration generated by camel-api-component-maven-plugin */ package org.apache.camel.component.fhir; import org.apache.camel.spi.Configurer; import org.apache.camel.spi.UriParam; import org.apache.camel.spi.UriParams; /** * Camel EndpointConfiguration for org.apache.camel.component.fhir.api.F...
package cs102a.aeroplane.util; import java.awt.*; public class Timer { public static void delay(int ms) { try { Robot robot = new Robot(); robot.delay(ms); } catch (Exception e) { e.printStackTrace(); } } }
package com.lordofthejars.nosqlunit.infinispan; import java.io.InputStream; import java.util.Map; import com.lordofthejars.nosqlunit.objects.KeyValueObjectMapper; public class DefaultInfinispanInsertionStrategy implements InfinispanInsertionStrategy { @Override public void insert(InfinispanConnectionCallback conn...
/* * 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 * * 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 ...
package com.qa.ims.persistence.domain; import org.junit.Test; import nl.jqno.equalsverifier.EqualsVerifier; public class ItemTest { @Test public void testEquals() { EqualsVerifier.simple().forClass(Item.class).verify(); } }
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.vulkan.video; import javax.annotation.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.Checks.*; import static o...
package com.itfvck.wechatframework.api.third.model; import com.itfvck.wechatframework.core.common.BaseData; /** * 获取授权方的账户信息 参数实体 * */ public class ApiGetAuthorizer extends BaseData{ /** * */ private static final long serialVersionUID = -610734753269575018L; //第三方平台appid private String component_appid; ...
/* * 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.lanking.cloud.domain.common.baseData; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import com.lanking.cloud.sdk.bean.Status; /** * 地区 * * @since 3.9.3 * @author <a href="mailto:sikai.wang@...
/* * Copyright 2014-2021 Real Logic Limited. * * 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 applicable law or ...
package com.luoxiang.reader.ui.adapter; import android.content.Context; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import com.luoxiang.reader.R; import com.luoxiang.reader.bean.BookListTags; import com.luoxiang.reader.common.OnRvItemCli...
/* * Copyright 2013 Google 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 applica...
package net.paoding.analysis.analyzer.impl; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileFilter; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; im...
import javax.swing.*; import javax.swing.border.EmptyBorder; import java.awt.*; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; import java.util.StringJoiner; /** * Vertex graphisch darstellen * * Die VertexGUI stellt ein Vertex des Graphen als Java Swing Komponente dar. * Sowohl "normale" Vertices...
package net.sourceforge.pmd.lang.java.rule.codesize; import java.util.ArrayList; import java.util.List; import net.sourceforge.pmd.lang.java.ast.ASTConditionalAndExpression; import net.sourceforge.pmd.lang.java.ast.ASTConditionalExpression; import net.sourceforge.pmd.lang.java.ast.ASTConditionalOrExpression; import n...
package com.guvash.forum; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class ForumApplicationTests { @Test public void contextLoad...
/* * Copyright (c) 2003, 2019, 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 ...
/* * Copyright 2006-2021 Prowide * * 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...
/* * Copyright 2016, Yahoo! Inc. * Licensed under the terms of the Apache License 2.0. See LICENSE file at the project root for terms. */ package com.yahoo.sketches.quantiles; import static com.yahoo.sketches.quantiles.HeapUpdateDoublesSketchTest.buildAndLoadQS; import static com.yahoo.sketches.quantiles.Util.LS; ...
package gov.samhsa.c2s.pcm.web; import gov.samhsa.c2s.pcm.service.ConsentService; import gov.samhsa.c2s.pcm.service.dto.ConsentAttestationDto; import gov.samhsa.c2s.pcm.service.dto.ConsentDto; import gov.samhsa.c2s.pcm.service.dto.ConsentRevocationDto; import gov.samhsa.c2s.pcm.service.dto.DetailedConsentDto; import g...
/* * Copyright (c) 2008-2016 Haulmont. * * 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 for testing 3.1 task. * * @author Maxim Zlobin (mailto:hlabn@yandex.ru) * @version $Id$ * @since 0.1 */ package ru.job4j.max;
package com.wubaoguo.springboot.util; import java.util.HashSet; import java.util.Set; import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanWrapper; import org.springframework.beans.BeanWrapperImpl; public class BeanUtil { public static String[] getNullPropertyNames (Object source) { ...
package com.hht.client.view; import android.app.Activity; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; import com.hht.client.R; import com.zhengsr.drawlib.DrawConfig; import com.zhengsr.drawlib.DrawNotice; import com.zhengsr.drawlib.bean.PenConfig; import com.zhengsr.drawlib.c...
public class Dog { private static Dog bestInShow = null; private String name; private Dog friend; public void setFriend(Dog friend) { this.friend = friend; } public static Dog d7; // NEVER DO THIS public static void setBestInShow(Dog b) { bestInShow = b; } public static Dog ...
package de.otto.synapse.message; import org.junit.Test; import java.time.Instant; import static de.otto.synapse.channel.ShardPosition.fromPosition; import static de.otto.synapse.message.Header.of; import static de.otto.synapse.message.Message.message; import static org.hamcrest.MatcherAssert.assertThat; import stati...
package com.chaosbuffalo.spartanlands.integration; import com.google.common.collect.Multimap; import com.oblivioussp.spartanweaponry.api.DamageHelper; import com.oblivioussp.spartanweaponry.api.ToolMaterialEx; import com.oblivioussp.spartanweaponry.item.ItemLongsword; import net.minecraft.block.state.IBlockState; impo...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.digitaltwins.core; import com.azure.core.annotation.ServiceClientBuilder; import com.azure.core.http.HttpPipeline; import com.azure.core.http.Ht...
package utility; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.rendering.ImageType; import org.apache.pdfbox.rendering.PDFRenderer; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.File; public class PDFToPng { public static void convert(String uploadDir, ...
/* * Copyright (c) 2002-2019 Gargoyle Software 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 ...
/** * Copyright 2012 Twitter, 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 i...
/* * 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 u...
package com.lqc.service.Impl; import javax.annotation.Resource; import org.springframework.stereotype.Service; import com.lqc.dao.AdminDao; import com.lqc.entity.Admin; import com.lqc.service.AdminService; @Service public class AdminServiceImpl implements AdminService { @Resource AdminDao adminDao = null; @Overrid...
package com.github.gr3gdev.jserver.socket; import com.github.gr3gdev.jserver.http.Request; import com.github.gr3gdev.jserver.http.RequestMethod; import com.github.gr3gdev.jserver.route.RouteListener; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.junit.MockitoJUnitRunner; import java.util....
package org.batfish.datamodel; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.MoreObjects; import java.util.Map; import org.batfish.datamodel.visitors.GenericIpSpaceVisitor; public class IpWildcardIpSpace extends IpSpace { pr...
package com.intsmaze.flink.base.env; import com.google.common.base.Charsets; import com.google.common.base.Throwables; import com.google.common.io.Resources; import org.apache.flink.configuration.Configuration; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.support.De...
package mekanism.client.gui; import java.util.ArrayList; import java.util.List; import mekanism.api.Coord4D; import mekanism.api.ListUtils; import mekanism.api.gas.GasTank; import mekanism.client.gui.GuiEnergyInfo.IInfoHandler; import mekanism.client.gui.GuiFluidGauge.IFluidInfoHandler; import mekanism.client.gui.Gui...