text stringlengths 7 1.01M |
|---|
package cn.androiddevelop.cycleviewpager.lib;
import java.util.ArrayList;
import java.util.List;
import com.kingtopgroup.R;
import com.kingtopgroup.util.stevenhu.android.phone.bean.ADInfo;
import android.annotation.SuppressLint;
import android.app.Fragment;
import android.os.Bundle;
import android.os.Message;
import... |
/**
* Given a binary tree, flatten it to a linked list in-place.
*
* For example,
* Given
*
* 1
* / \
* 2 5
* / \ \
* 3 4 6
* The flattened tree should look like:
* 1
* \
* 2
* \
* 3
* \
* 4
* \
* ... |
package net.script;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
import net.script.config.main.ApplicationVariables;
import org.springframework.boot.SpringApplication;
import org.s... |
/*
* Copyright 2019 ConsenSys AG.
*
* 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... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/*******************************************************************************
* Copyright 2010 Cees De Groot, Alex Boisvert, Jan Kotek
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... |
package andioopp.model.domain.entity;
import andioopp.common.math.dimension.Dimension;
import andioopp.common.math.rectangle.Rectangle;
import andioopp.common.math.rectangle.ImmutableRectangle;
import andioopp.common.math.vector.Vector3f;
import andioopp.model.domain.money.Money;
import andioopp.model.util.ModelCoordi... |
package com.tanamo.osm;
import android.app.Application;
import android.text.TextUtils;
import android.util.Log;
import com.mapbox.mapboxsdk.Mapbox;
import com.tanamo.osm.util.Utils;
public class MyApplication extends Application {
private static final String LOG_TAG = MyApplication.class.getSimpleName();
p... |
/*
* Copyright 2018 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package io.flutter.run.bazelTest;
import com.intellij.psi.PsiElement;
import io.flutter.run.common.TestLineMarkerContributor;
import io.flutter.set... |
package io.dactilo.sumbawa.spring.ical.converter.api.attendees;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
@Retention(value = RUNT... |
/*
* Copyright 2017-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package android.support.v4.view;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.Resources.NotFoundException;
import android.content.res.TypedArray;
import android.database.DataSetObserver;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.gra... |
package com.jd.laf.web.vertx.lifecycle;
import com.jd.laf.web.vertx.Environment;
import com.jd.laf.web.vertx.EnvironmentAware;
import com.jd.laf.web.vertx.MessageHandler;
import com.jd.laf.web.vertx.config.VertxConfig;
import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
import io.vertx.core.Handler;
import ... |
/**
* Copyright 2018 LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license.
* See LICENSE in the project root for license information.
*/
package com.linkedin.tony;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Preconditions;
import com.google.common.... |
package com.example.music.utils;
import android.text.TextUtils;
import com.example.music.Music;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Administrator on 2018/4/17.
* 解析JSON格式数据,传入字符串表示的JSON数据,得到List<... |
package org.springframework.samples.petclinic.model;
import java.util.ArrayList;
import java.util.List;
public class Ratings {
private List<Rating> ratingList;
public List<Rating> getRatingList() {
if (ratingList == null)
ratingList = new ArrayList<>();
return ratingList;
}
}... |
// -*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
// @homepage@
package example;
import java.awt.*;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.Transferable;
import java.awt.datatransfer.UnsupportedFlavorException;
import java.awt.dnd.DragSource;
import java.awt.dnd.DropTar... |
/* 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.android.example.wordlistsql;
public final class R {
public static final class anim {
public static final int abc_... |
/*
* Copyright (c) 2016, Salesforce.com, 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 cond... |
/*
* Copyright (C) 2014-2018 Samuel Audet
*
* Licensed either under the Apache License, Version 2.0, or (at your option)
* under the terms of the GNU General Public License as published by
* the Free Software Foundation (subject to the "Classpath" exception),
* either version 2, or any later version (collectively... |
package unalcol.reflect.service;
import unalcol.reflect.loader.tool.JarLoader;
import unalcol.reflect.loader.Loader;
import unalcol.reflect.util.*;
import java.io.File;
import java.util.zip.ZipFile;
import java.util.zip.ZipEntry;
import java.util.Enumeration;
/**
* <p>Loads service from the current Class Loader (look... |
package com.yzcx.ucar.common.xss;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
impor... |
/*
* 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")... |
/*
* Copyright 2018 Otavio R. Piske <angusyoung@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 by appli... |
package landmaster.plustic.crafttweaker;
import com.blamejared.compat.tconstruct.materials.ITICMaterial;
import crafttweaker.IAction;
import landmaster.plustic.tools.stats.BatteryCellMaterialStats;
import slimeknights.tconstruct.library.materials.Material;
public class SetEnergyAction implements IAction {
private... |
package sigleton;
/**
* @author jinhuan3
* @date 2/12/2022 - 11:02 PM
* 中国历史上一般都是一个朝代一个皇帝,有两个皇帝的话,必然要PK出一个
*/
public class Emperor {
private static Emperor emperor = null; //定义一个皇帝放在那里,然后给这个皇帝名字
private Emperor(){
//私有的构造器,使外部不能调用创建Emperor对象
}
public static Emperor getInstance(){
if(emperor... |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... |
package org.choreos.services.enactchoreography.client.smartcart;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Classe Java per payRequiredResponse complex type.
*
* <p>Il seguente frammento di schema specifica... |
package com.informatorio.proyectofinal.repository;
import com.informatorio.proyectofinal.entity.Emprendimiento;
import com.informatorio.proyectofinal.entity.Evento;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
publi... |
package org.openapitools.model;
import java.net.URI;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.ArrayList;
import java.util.List;
import org.openapitools.model.C... |
package net.kiberion.swampmachine.utils.charting;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import org.junit.Test;
import org.knowm.xchart.BitmapEncoder.BitmapFormat;
public class PieChartTest {
@Test
public void testPieChart() throws Exception {
... |
/*
* This software is released under a licence similar to the Apache Software Licence.
* See org.logicalcobwebs.proxool.package.html for details.
* The latest version is available at http://proxool.sourceforge.net
*/
package org.logicalcobwebs.dbscript;
/**
* An SQL command to run.
*
* @version $Revision: 1.5 $... |
package com.atguigu.gmall.sms.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gmall.common.bean.PageResultVo;
import com.atguigu.gmall.common.bean.PageParamVo;
import com.atguigu.gmall.sms.entity.SeckillSessionEntity;
import java.util.Map;
/**
* 秒杀活动场次
*
* @author zxn
* @e... |
/*
* The MIT License
* Copyright © 2014-2019 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... |
/*
* Licensed to the 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.szeljic.pharmacy.Beans;
public class UserBean implements Comparable<UserBean>
{
private String username, password, firstName, lastName, umcn;
private int type, id;
private boolean valid;
public UserBean(){
}
public int getId()
{
return id;
}
public void setId(int id)
{
this.id = id;
}
... |
package alephinfinity1.forgeblock.misc.itemreqs;
import java.util.List;
import java.util.function.Predicate;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.util.text.ITextComponent;
/**
* A specialisation of predicates that targets players.
*/
public interface IRequirementPredicate extends P... |
/*
* Copyright 2016 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 applicable ... |
/**
* 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... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.yunnex.ops.erp.modules.gen.entity;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import org.hibernate.val... |
/*
* $Id: NestedLessThanTag.java 471754 2006-11-06 14:55:09Z husted $
*
* 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 com.bovendorp.andre.paralax;
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
public... |
/*
* Conditions Of Use
*
* This software was developed by employees of the National Institute of
* Standards and Technology (NIST), an agency of the Federal Government.
* Pursuant to title 15 Untied States Code Section 105, works of NIST
* employees are not subject to copyright protection in the United States
* ... |
package com.codepath.apps.restclienttemplate;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.view.MenuItemCompat;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app.AppCompatActivity;
import android.suppo... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package com.company;
import java.util.Random;
/* This class is responsible for all random number generation */
public class RandomGenerator implements Generator {
private static final Random rand = new Random();
public RandomGenerator() {
}
@Override
public double getUniformRandomNext() {
... |
/*
* 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 bz.rxla.audioplayer;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.media.AudioAttributes;
import android.os.Handler;
import android.util.Log;
import io.flutter.plugin.common.MethodChannel;
import io.flutter.plugin.common.MethodChannel.MethodCallHandler;
import io.flutter.p... |
package com.cesare.gulimall.ware.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cesare.common.utils.PageUtils;
import com.cesare.gulimall.ware.entity.WareInfoEntity;
import java.util.Map;
/**
* 仓库信息
*
* @author luzhengsheng
* @email 1844567512@qq.com
* @date 2021-04-03 14:16:25
... |
/*
* Fortify Software Security Center API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 1:18.20
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.gi... |
/*
* Copyright 2009-2014 PrimeTek.
*
* 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... |
/**************************************************************************
* Copyright (c) 2001 by Punch Telematix. All rights reserved. *
* *
* Redistribution and use in source and binary forms, with or without *
* modification, ... |
/*
* broadcastS.java
*
* Created on February 28, 2007, 7:58 PM
*
*
*/
package networking;
import java.io.*;
import java.net.*;
import java.util.*;
/**
*
* @author Alex Filby
*
*
*/
public class broadcastS implements Runnable {
private InetAddress serverIp;
private ServerSocke... |
package io.github.xhinliang.mdpreference;
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() ... |
package cn.itcast.zt.domain;
import org.apache.ibatis.annotations.*;
import java.util.List;
import java.util.Map;
/**
* Created by zhangtian on 2017/4/12.
*/
@Mapper
public interface UserMapper {
@Select("SELECT * FROM USER WHERE NAME = #{name}")
User findByName(@Param("name") String name) ;
@Results(... |
package com.mercari.solution.util.converter;
import com.google.cloud.ByteArray;
import com.google.cloud.Date;
import com.google.cloud.Timestamp;
import com.google.cloud.spanner.Mutation;
import com.google.cloud.spanner.Type;
import com.mercari.solution.util.AvroSchemaUtil;
import com.mercari.solution.util.gcp.SpannerU... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* Copyright 2014 Effektif GmbH.
*
* 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... |
package soupply.bedrock261.protocol.play;
import java.util.*;
import soupply.util.*;
public class PlayStatus extends soupply.bedrock261.Packet
{
public static final int ID = 2;
// status
public static final int OK = (int)0;
public static final int OUTDATED_CLIENT = (int)1;
public static final in... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.06.... |
/*
* Copyright (C) 2017-2020 HERE Europe B.V.
*
* 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... |
/*
* 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 ... |
/*
* 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 life.genny.qwandautils;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import io.quarkus.runtime.annotations.RegisterForReflection;
@RegisterForReflection
public class RawStringMessage implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1L;
... |
package com.bloomtree.employee.model;
public class TestUser {
private long id;
private String username;
private String address;
private String email;
public TestUser(){
id=0;
}
public TestUser(long id, String username, String address, String email){
this.id = id;
this.username... |
/**
* Copyright (c) 2016-2019 人人开源 All rights reserved.
*
* https://www.renren.io
*
* 版权所有,侵权必究!
*/
package com.langke.common.utils;
/**
* 常量
*
* @author Mark sunlightcs@gmail.com
*/
public class Constant {
/** 超级管理员ID */
public static final int SUPER_ADMIN = 1;
/**
* 当前页码
*/
public stat... |
/*
*
* * Copyright 2010-2016 OrientDB LTD (http://orientdb.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... |
/*
* Copyright (c) 2016, 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... |
/**
* Copyright (c) 2011-2021, JFXtras
* 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 com.murillo.produtoapi;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class ProdutoApiApplicationTests {
@Test
void contextLoads() {
}
}
|
/*******************************************************************************
* 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 com.silaev.analytics.util;
import org.springframework.stereotype.Component;
import java.time.Instant;
@Component
public class DateTimeConverter {
public Instant getInstantNow() {
return Instant.now();
}
}
|
package com.xc.gulimall.product.dao;
import com.xc.gulimall.product.entity.SpuCommentEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 商品评价
*
* @author xuchong
* @email 416931874@qq.com
* @date 2020-08-07 00:07:36
*/
@Mapper
public interface SpuC... |
package org.odk.kitaaman.android.openrosa;
import android.webkit.MimeTypeMap;
import androidx.annotation.NonNull;
import org.odk.kitaaman.android.utilities.FileUtils;
/**
* This covers types not included in Android's MimeTypeMap
* Reference https://android.googlesource.com/platform/frameworks/base/+/61ae88e/core/... |
package com.johnmelodyme.bluetoothutilities.activities;
import android.app.job.JobScheduler;
import android.app.job.JobService;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothSocket;
import android.content.BroadcastReceiver;
import android.content... |
/*
* 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 malwarePack;
import java.io.*;
public class Unpaquer {
FileInputStream fileInput;
public Unpaquer(String imagen) throws IOException {
fileInput = new FileInputStream(imagen);
}
public String reader() throws IOException {
String s = "";
boolean fin = false;
int character = 0;
while(!fin) {
if(... |
package cn.jko.apis.visitor;
import com.github.javaparser.ast.type.Type;
import java.io.File;
import java.util.LinkedHashMap;
/**
* 将class 转化成 ClassModel 的参数
*
*
* @author slsm258@126.com create on 2018/10/29
*/
public class ClassTypeParseVisitorParam {
private boolean start;
private String projectSrcP... |
package org.fuck.netty;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.buffer.Unpooled;
import io.netty.channel.*;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import io.netty.util.CharsetUtil;
import... |
package com.example.travelplannerbackend.controller;
import com.example.travelplannerbackend.exception.CategoryNotExistException;
import com.example.travelplannerbackend.exception.CityNotExistException;
import com.example.travelplannerbackend.exception.PlaceNotExistException;
import com.example.travelplannerbackend.mo... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.capdevon.engine;
import com.jme3.math.FastMath;
/**
*
*/
public class MathUtils {
public static 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... |
/*
* 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... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network.v2020_03_01.implementation;
import com.m... |
package com.owlcode;
public class DeluxeBurger extends Hamburger {
public DeluxeBurger() {
super("Deluxe", "Sausage & Bacon", 14.54, "White");
super.addHamburgerAddition1("Chips", 2.75);
super.addHamburgerAddition2("Drink", 181);
}
@Override
public void addHamburgerAddition1(S... |
package com.ons.gov.uk.backend.test;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.ons.gov.uk.DimensionalAPI;
import com.ons.gov.uk.core.Config;
import com.ons.gov.uk.frontend.pages.FileUploader;
import com.ons.gov.uk.frontend.test.FileChecker;
import com.ons.gov.uk.util.CSVOps;
import com.ons.gov.uk.... |
package org.ichanging.qpboc.core;
import org.ichanging.qpboc.util.HexUtil;
import org.ichanging.qpboc.platform.LogUtil;
/**
* Created by ChangingP on 2016/4/15.
*/
public class ICCCommand {
private static final String TAG = ICCCommand.class.getSimpleName();
// Format: [CLASS | INSTRUCTION | PARAMETER 1 | ... |
package opennlp.tools.chatbot.text_searcher;
import java.io.File;
import java.io.IOException;
import java.nio.file.FileSystems;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
im... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE129_Improper_Validation_of_Array_Index__getQueryString_Servlet_array_write_no_check_01.java
Label Definition File: CWE129_Improper_Validation_of_Array_Index.label.xml
Template File: sources-sinks-01.tmpl.java
*/
/*
* @description
* CWE: 129 Improper Validation of Array I... |
package io.wyf.jcartadministrationback.service;
import io.wyf.jcartadministrationback.po.ReturnHistory;
import java.util.List;
public interface ReturnHistoryService {
List<ReturnHistory> getListByReturnId(Integer returnId);
Long create(ReturnHistory returnHistory);
}
|
/**
*/
package tosca.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import tosca.ToscaPackage;
import tosca.Value;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Value</b></em>'.
* <!-- end-user-doc -->
*
* @generated
*/
public ... |
package pom.equipo5.test;
import org.junit.Assert;
import org.junit.Test;
import pom.equipo5.base.TestBase;
import pom.equipo5.pages.*;
public class Paquetes01_paqueteRecomendado extends TestBase {
protected VFHomePage paginaHome = null;
protected VFPaquetePage paginaPaquete = null;
protected VFPaqueteVue... |
package com.github.kchobantonov.camunda.jsonforms.plugin;
import java.io.ByteArrayInputStream;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import org.camunda.bpm.engine.impl.cmd.GetTaskFormVariablesCmd;
import org.camunda.bpm.engine.impl.interceptor.CommandContext;
import org.camunda... |
package cz.metacentrum.perun.core.impl.modules.attributes;
import cz.metacentrum.perun.core.implApi.modules.attributes.UserPersistentShadowAttributeWithConfig;
/**
* Class for checking logins uniqueness in the namespace and filling lifescienceid-persistent id.
* It is only storage! Use module login lifescienceid_pe... |
/*
* Copyright 2008-2009 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.haiegoo.framework.zkclient;
import org.I0Itec.zkclient.exception.ZkException;
import org.I0Itec.zkclient.exception.ZkInterruptedException;
import org.I0Itec.zkclient.exception.ZkNoNodeException;
import org.I0Itec.zkclient.exception.ZkNodeExistsException;
import org.I0Itec.zkclient.serialize.ZkSerializer;
i... |
package io.jans.ca.server.configuration.model;
import com.google.common.collect.Lists;
import java.io.Serializable;
import java.util.List;
/**
* @author Yuriy Zabrovarnyy
* @version 0.9, 06/06/2016
*/
public class UmaResource implements Serializable {
private String id;
private String path;
private ... |
package com.ulfy.master.ui.activity;
import android.os.Bundle;
import android.view.View;
import com.ulfy.android.system.ActivityUtils;
import com.ulfy.android.task.LoadListPageUiTask;
import com.ulfy.android.task.TaskUtils;
import com.ulfy.android.task_transponder.ContentDataLoader;
import com.ulfy.android.task_trans... |
/*******************************************************************************
*
* Copyright (C) 2015-2021 the BBoxDB project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licens... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.