text
stringlengths
7
995k
package jp.co.cybird.app.android.lib.commons.file.json; import java.io.IOException; import java.lang.reflect.Type; import jp.co.cybird.app.android.lib.commons.file.json.JSON; import jp.co.cybird.app.android.lib.commons.file.json.io.StringBuilderOutputSource; /* compiled from: Converter */ final class FormatConverter ...
r#"private static native void private_f()"#; r#"public static native void public_f()"#; r#"protected static native void protected_f()"#; r#"private Foo(int a0)"#; r#"public Foo()"#;
// Template Source: BaseEntityCollectionResponse.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------------...
// // ======================================================================== // Copyright (c) 1995-2019 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
/** * 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 1.0.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated...
package org.intermine.webservice.server.user; /* * Copyright (C) 2002-2022 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyl...
package com.safeshop.filters; import com.safeshop.models.User; import org.springframework.core.annotation.Order; import org.springframework.stereotype.Component; import org.springframework.web.filter.OncePerRequestFilter; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.ht...
/** * Package: MAG - VistA Imaging WARNING: Per VHA Directive 2004-038, this routine should not be modified. Date Created: Mar 18, 2011 Site Name: Washington OI Field Office, Silver Spring, MD Developer: vhaiswwerfej Description: ;; +------------------------------------------------------------...
package com.dtb.core.common.permissions; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.content.pm.PackageManager; import android.os.Build; import androidx.core.app.ActivityCompat; import androidx.core.content.ContextCompat; import java.util.ArrayList...
package riotapi.staticdata.champion; import java.util.ArrayList; import riotapi.staticdata.image.ImageDto; import riotapi.staticdata.misc.LevelTipDto; public class ChampionSpellDto { private ArrayList<ImageDto> altimages; private ArrayList<Double> cooldown; private String cooldownBurn; private ArrayL...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.document; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; import com.yahoo.document.datatypes.FieldValue; import com.yahoo.document.ser...
package com.lambdaschool.vacationplanner.models; import com.lambdaschool.vacationplanner.exceptions.ValidationError; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; // adapted from https://tools.ietf.org/html/rfc7807 public class Erro...
/* Copyright (c) 2015, Alcatel-Lucent Inc 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 notice, this list of condi...
package cn.ezandroid.ezfilter; import android.content.Context; import android.content.res.Configuration; import android.hardware.Camera; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view.OrientationEventListener; import android.widget.Button; import androidx.annotation.Nul...
package com.hcl.domino.commons.design; import java.util.EnumSet; import com.hcl.domino.commons.richtext.records.MemoryStructureProxy; import com.hcl.domino.data.FontAttribute; import com.hcl.domino.data.StandardFonts; import com.hcl.domino.richtext.structures.ColorValue; import com.hcl.domino.richtext.structures.Font...
package net.lshift.spki.convert; import static net.lshift.spki.sexpform.Create.atom; import static net.lshift.spki.sexpform.Create.list; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.math.BigInteger; import java.nio.charset.Stand...
/* * MIT License * * Copyright (c) 2020-2021 shroomdog27 * * 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) 2016, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package arrayaccess; public class ArrayAccess { public static int loadStoreBoolean(int i, boolean b) { ...
package org.apache.whirr.service.ganglia; /** * 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 Li...
/* * Copyright 2012 The Netty Project * * The Netty Project 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/licenses/LICENSE-2.0 * * Unless ...
package com.zkzong.collection.list; import org.junit.Test; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Created by Zong on 2016/11/28. */ public class Add { public static void main(String[] args) { // List list = new ArrayList(10); // li...
package com.github.authorfu.logcatdumper; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test p...
package com.hcjcch.SwapNodesinPairs; public class Solution { static class ListNode { int val; ListNode next; ListNode(int x) { val = x; } } public static ListNode swapPairs(ListNode head) { if (head == null || head.next == null){ return head...
package com.imsd.radio; import android.graphics.Bitmap; public interface IRadioManager { void startRadio(String streamURL); void stopRadio(); boolean isPlaying(); void registerListener(RadioListener mRadioListener); void unregisterListener(RadioListener mRadioListener); void setLogging(bo...
/* * 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 Unit; import java.awt.Graphics2D; import java.awt.Image; import java.awt.image.BufferedImage; import javax.imageio.ImageIO; /** * This is a UnitImage class. * Basically, this class is a stores all the images of the chess piece units to be used in the game. * By using this class the other classes will not...
package com.simibubi.create.content.contraptions.components.actors.dispenser; import java.util.Random; import com.simibubi.create.content.contraptions.components.structureMovement.MovementContext; import net.minecraft.Util; import net.minecraft.core.BlockPos; import net.minecraft.server.level.ServerLevel; import net...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE113_HTTP_Response_Splitting__connect_tcp_setHeaderServlet_53a.java Label Definition File: CWE113_HTTP_Response_Splitting.label.xml Template File: sources-sinks-53a.tmpl.java */ /* * @description * CWE: 113 HTTP Response Splitting * BadSource: connect_tcp Read data usi...
package com.google.sampling.experiential.server.migration; import java.util.Map; import java.util.logging.Logger; import com.google.common.base.Strings; import com.google.common.collect.Maps; import com.google.sampling.experiential.server.migration.jobs.*; import com.google.sampling.experiential.server.stats.usage.Us...
package net.ezforever.vgyro; import androidx.appcompat.app.AppCompatActivity; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import andr...
package com.prowidesoftware.swift.model.mx.dic; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import org.apache.commons.lang3.builde...
/* * Copyright 2016 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 applica...
/* * Copyright 2011 Park Jun-Hong (parkjunhong77@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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package io.confluent.kafkadevops.microservicesorders.ordersservice; import io.confluent.examples.streams.avro.microservices.Order; import org.apache.kafka.clients.consumer.Consumer; import org.apache.kafka.clients.producer.Producer; import org.apache.kafka.clients.producer.ProducerRecord; import org.apache.kafka.strea...
package seedu.address.logic.candidate; import static java.util.Objects.requireNonNull; import java.util.List; import seedu.address.commons.core.Messages; import seedu.address.commons.core.index.Index; import seedu.address.logic.Command; import seedu.address.logic.CommandResult; import seedu.address.logic.candidate.e...
/* * Copyright (c) 2017, 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/li...
/* * 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 imports.kubernetes; @javax.annotation.Generated(value = "jsii-pacmak/1.30.0 (build adae23f)", date = "2021-06-16T06:12:12.542Z") @software.amazon.jsii.Jsii(module = imports.kubernetes.$Module.class, fqn = "kubernetes.DeploymentSpecTemplateSpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution")...
/* * 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.michaelfotiadis.androidcustomviewsdemos.fragments; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import an...
package br.com.metsys.rabbitprotobuff.pessoa.exception; public class CreatePersonUseCaseException extends UseCaseException { private static final long serialVersionUID = -4914517034673349812L; public CreatePersonUseCaseException(String message) { super(message); } public CreatePersonUseCaseE...
package org.workcraft.tasks; public interface TaskMonitor { <T> ProgressMonitor<T> taskStarting(String description); }
package util; import com.mchange.v2.c3p0.ComboPooledDataSource; import javax.sql.DataSource; import java.sql.Connection; import java.sql.SQLException; public class C3P0Utils { private static DataSource dataSource; static { dataSource = new ComboPooledDataSource(); } public static Connectio...
package br.com.dcod.modules.gss; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.Toast; import java.util.Random; public class MainActivity extends AppCompatActivity { public...
package com.auth0.android.provider; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.auth0.android.authentication.AuthenticationAPIClient; import com.auth0.android.authentication.AuthenticationException; import com.auth0.android.callback.AuthenticationCallback; import ...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
package stonering.util.pathfinding; import java.util.LinkedList; import java.util.List; import stonering.util.geometry.Position; /** * Node of pathfinding tree. * * @author Alexander Kuzyakov on 12.02.2018. */ public class Node { public Position position; public Node parent; public int pathLength; ...
package be.pxl.backend.exceptions; /** * Created by Jonas on 21/10/16. */ import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(value = HttpStatus.NOT_ACCEPTABLE, reason = "Session Error") public class SessionException extends RuntimeException { ...
/* * Copyright 2002-2019 Barcelona Supercomputing Center (www.bsc.es) * * 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 * * Unl...
package com.example.fbparstagram; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.Menu; import...
// 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 com.ctre.phoenix.motorcontrol.NeutralMode; import com.ctre.phoenix.motorcontrol.ca...
package parsers; import static org.junit.Assert.*; import java.math.BigDecimal; import java.util.List; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.containsString; import org.junit.Test; import models.Activity; import models.Location; import models.User; import play.test....
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su conteni...
package creational; import org.junit.Assert; import java.util.Objects; /** * Created by 李恒名 on 2017/7/15. * <p> * 单例模式,即一个类只允许存在一个实例。 * * @see java.lang.Runtime#getRuntime() */ public class SingletonPattern { /** * 懒汉式,线程不安全,在使用时初始化示例(懒加载) */ static class Singleton1 { private static S...
package org.mamute.controllers; import javax.inject.Inject; import org.mamute.brutauth.auth.rules.LoggedRule; import org.mamute.dao.WatcherDAO; import org.mamute.infra.ModelUrlMapping; import org.mamute.model.LoggedUser; import org.mamute.model.User; import org.mamute.model.interfaces.Watchable; import org.mamute.mod...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator package com.microsoft.azure.batch.protocol.models; import java.util.UUID; import com.microsoft.rest.DateTimeRfc1123; import org.joda.time.DateTime; import com.fast...
//package n import processing.core.*; import processing.video.*; import jp.nyatla.nyar4psg.*; public class arPlusNyIdMarker extends PApplet { /** * NyARToolkit for proce55ing/1.0.0 (c)2008-2011 nyatla * airmail(at)ebony.plala.or.jp * * AR\u30de\u30fc\u30ab\u3068Id\u30de\u30fc\u30ab\u3092\u540...
package com.ajasuja.codepath.news.view; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.ajasuja.codepath.news.R; import butterknife.BindView; import static butterknife.ButterKnife.bind; /** * Created by ajasuja on...
package tests.aparfenov.ru.calculator; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test publ...
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE package org.bytedeco.liquidfun; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.liquidfun.global.liquidfun.*; /** The features th...
// Copyright 2020, California Institute of Technology ("Caltech"). // U.S. Government sponsorship acknowledged. // // 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 so...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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...
/* * Copyright 1998-2013 University Corporation for Atmospheric Research/Unidata * * Portions of this software were developed by the Unidata Program at the * University Corporation for Atmospheric Research. * * Access and use of this software shall impose the following obligations * and understandings on the...
/** * ********************************************************************** * * <p>DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * <p>Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. * * <p>Use is subject to license terms. * * <p>Licensed under the Apache License, Versi...
package cn.icheny.ibeacon.demo; /** * IBeacon实体类 * * @author www.icheny.cn * @date 2019.04.16 */ public class IBeacon { // 名称 public String name; // major主码 public int major; // minor次码 public int minor; // 唯一识别码 (统一厂商的唯一识别码可能一样,不具唯一性) public String uuid; // 设备地址(mac地址,如: "00:1...
/* * Copyright (c) 2015-2021, Oracle and/or its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
package com.feixue.mbridge.proxy.http.filter; import com.feixue.mbridge.proxy.*; import io.netty.handler.codec.http.FullHttpRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * 持久化请求 & 响应上下文 */ public class StoreFilter extends AbstractFilter implements Filter { private static final Logger lo...
package edu.emmerson.camel3.cdi.rmq.route; import static org.apache.camel.Exchange.HTTP_METHOD; import static org.apache.camel.Exchange.HTTP_URI; import static org.apache.camel.component.http.HttpMethods.POST; import java.util.LinkedHashMap; import javax.inject.Inject; import org.apache.camel.builder.RouteBuilder; ...
/* * 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.github.cuter44.wxpay.reqs; import java.util.Properties; import com.github.cuter44.wxpay.constants.*; public class JSAPIUnifiedOrder extends UnifiedOrder { // COSTRUCT public JSAPIUnifiedOrder(Properties prop) { super(prop); super.setTradeType(TradeType.JSAPI); return; ...
package berlin.yuna.project; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Application { public static void main(final String[] args) { SpringApplication.run(Application.class, args); } }
/** * 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 * distrib...
/* * Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
package pl.bgraczyk.githublister.dto; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; import lombok.Getter; @AllArgsConstructor @Getter public class StarStatsDTO { @JsonProperty(value = "stars-count") private int starsCount; }
package io.graphine.test.repository; import io.graphine.core.GraphineRepository; import io.graphine.core.annotation.Repository; import io.graphine.test.model.Film; import io.graphine.test.model.Rating; import java.util.*; import java.util.stream.Stream; /** * @author Oleg Marchenko */ @Repository public interface ...
package seedu.address.logic.commands.epiggy; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static seedu.address.commons.core.Messages.MESSAGE_EXPENSES_LISTED_OVERVIEW; import static seedu.address.logic.parser.CliSyntax.PREFIX_...
/* * 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 com.liuyun.doubao.plugin; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.alibaba.fastjson.JSONObject; import com.liuyun.doubao.common.Plugin; import com.liuyun.doubao.config.PluginConfig; public class DefaultPlugin implements Plugin { protected Logger logger = LoggerFactory.getLogger(...
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
package com.fasterxml.jackson.module.jaxb.introspect; import java.io.IOException; import javax.xml.bind.annotation.*; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.module.jaxb.BaseJaxbTest; public class TestPropertyVisibility ex...
/* * Copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos * * 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 abov...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package org.xpp.admin; import de.codecentric.boot.admin.server.config.EnableAdminServer; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication @EnableAdminServer public class AdminApplication { public static void main(String[...
package AndroidDevices; public class DataHanding { private DeviceEvents DeviceEvents; private String SN; private String Xtemp; private String Ytemp; private boolean Touchflag = false; public DataHanding(String SN) { DeviceEvents = new DeviceEvents(); this.SN = SN; } p...
package com.kimo.guessthenumber; import com.kimo.guessthenumber.utils.InputUtils; import com.kimo.guessthenumber.utils.PrintUtils; public class Main { private static GuessTheNumber guessTheNumber = new GuessTheNumber(); public static void main(String[] args) { System.out.println("GuessTheNumber - Gue...
package al.jdi.dao.beans; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.assertThat; import org.hibernate.cfg.Configuration; import org.junit.Before; public class HibernateTest { private Con...
package com.xiaojukeji.kafka.manager.service.service.gateway; import com.xiaojukeji.kafka.manager.common.entity.ao.topic.TopicConnection; import com.xiaojukeji.kafka.manager.common.entity.pojo.gateway.TopicConnectionDO; import java.util.Date; import java.util.List; /** * @author zhongyuankai * @date 20/4/13 */ pu...
package de.fzi.dream.ploc.data.structure.entity; import androidx.annotation.NonNull; import androidx.room.ColumnInfo; import androidx.room.Entity; import androidx.room.PrimaryKey; import com.google.gson.annotations.SerializedName; @Entity(tableName = "record_type") public class RecordType { @PrimaryKey @No...
/* Copyright 2016 Google 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 ...
package com.sls.security.component; import java.util.List; import javax.transaction.Transactional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.sls.security.entity.FinishingDispatchEntryDtl; import com.sls.security.repository.FinishDispat...
package com.wallmart.web.dao.impl; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import java.util.Random; import javax.sql.DataSource; import com.wallmart.web.customexception.DataBaseCustomExc...
package week13; public class Student extends Person { }
/** * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under ...
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.var; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertFalse; import static org.testng.AssertJU...
package com.github.vitrocket.mybatis.report.writer; import lombok.extern.slf4j.Slf4j; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.xssf.usermodel.XSSFSheet; impor...
/* * Copyright (c) 2017, 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/li...
package com.test; public class FracFixed implements Fraction { private final int num; private final int denum; public FracFixed(int num, int denum) { this.num = num; this.denum = denum; } @Override public final int numerator() { return num; } @Override pub...
package de.tum.in.test.api.structural; import static org.junit.jupiter.api.Assertions.fail; import static org.junit.jupiter.api.DynamicContainer.dynamicContainer; import static org.junit.jupiter.api.DynamicTest.dynamicTest; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.net.URI; import...