text stringlengths 7 995k |
|---|
/**
* Copyright (c) 2004-2006 Regents of the University of California.
* See "license-prefuse.txt" for licensing terms.
*/
package prefuse.visual;
import prefuse.Visualization;
import prefuse.data.tuple.TupleSet;
/**
* TupleSet sub-interface for TupleSet instances that contain VisualItems, Tuple
* instances that... |
/*
* Copyright 2019 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
package com.ronindong.meet.android.service;
import android.content.IntentFilter;
import android.util.Log;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityNodeInfo;
import java.util.List;
/**
* @author donghailong
*/
public class AutoOpenRedPacketService extends... |
package weatherpony.partial;
public class PMLSecurityManager extends SecurityManager{
private static final PMLSecurityManager accessibleManager = new PMLSecurityManager();
@Override
protected Class<?>[] getClassContext(){
return super.getClassContext();
}
public static Class<?> getStackClass(int... |
package mpi.pt2pt;
/****************************************************************************
MESSAGE PASSING INTERFACE TEST CASE SUITE
Copyright IBM Corp. 1995
IBM Corp. hereby grants a non-exclusive license to use, copy, modify, and
distribute this software for any purpose and without fee provided that the... |
/*
* Copyright (C) 2016-2020 Lightbend Inc. <https://www.lightbend.com>
*/
package api;
import akka.stream.javadsl.Source;
import akka.NotUsed;
import com.lightbend.lagom.javadsl.api.ServiceCall;
import com.lightbend.lagom.javadsl.api.Descriptor;
import com.lightbend.lagom.javadsl.api.Service;
import com.lightbend... |
import java.time.LocalDateTime;
import java.util.ArrayList;
public class DatabaseSimulation {
//List of registered users
private ArrayList<User> users = new ArrayList<>();
//List of reservations
private ArrayList<Reservation> reservations = new ArrayList<>();
// Reservations
//--------------... |
/**
* Copyright 2012 Emmanuel Bourg
*
* 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... |
/*
* Copyright 2019 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 applica... |
/* **************************************************************************
* $OpenLDAP$
*
* Copyright (C) 1999, 2000, 2001 Novell, Inc. All Rights Reserved.
*
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND
* TREATIES. USE, MODIFICATION, AND REDISTRIBUTION OF THIS WORK IS SUBJECT
* TO VERS... |
/* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... |
package speedtyper.api.controller;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Random;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Contr... |
/*
* Copyright (C) 2016 Red Hat, 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 agre... |
package com.shuframework.admin.service.impl;
import com.baomidou.mybatisplus.plugins.Page;
import com.shuframework.admin.model.SysMenu;
import com.shuframework.admin.query.SysMenuDTO;
import com.shuframework.admin.mapper.SysMenuMapper;
import com.shuframework.admin.service.SysMenuService;
import com.baomidou.mybatispl... |
/*
* Copyright © 2011 Everit Kft. (http://www.everit.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/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.alipay.api.domain;
import java.util.Date;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 口碑商品创建接口
*
* @author auto create
* @since 1.0, 2018-03-09 00:24:47
*/
public class KoubeiIt... |
package com.google.gson;
public interface ExclusionStrategy {
boolean shouldSkipClass(Class<?> cls);
boolean shouldSkipField(FieldAttributes fieldAttributes);
} |
package mage.cards.s;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.costs.mana.ColoredManaCost;
import mage.abilities.effects.RestrictionEffect;
import mage.abilities.effects.common.contin... |
package org.xm.essayscoring.features;
import org.xm.essayscoring.EssayScoring;
import org.xm.essayscoring.domain.EssayInstance;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.regex.Pattern;
/**
* Compute the percentage of tokens match the input word or regex.
*
* @author xuming
*/
public ... |
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
/*
* MIT License
*
* Copyright 2020-2021 noahhusby
*
* 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,
* modify, ... |
/* file: OptionalDataId.java */
/*******************************************************************************
* Copyright 2014-2021 Intel Corporation
*
* 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 L... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright (c) 2020, 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... |
/*
* ARX: Powerful Data Anonymization
* Copyright 2012 - 2016 Fabian Prasser, Florian Kohlmayer and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... |
/*package whatever //do not write package name here */
import java.util.*;
import java.lang.*;
import java.io.*;
class GFG {
public static void main (String[] args) throws java.lang.Exception {
InputStreamReader r = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(r);
int t=0, N=0... |
package com.github.pampas.ui.base;
/**
* Description: 入口层服务接口
* User: darrenfu
* Date: 2018-11-20
*/
public interface IngressService {
} |
/*
* Copyright 2015-2017 GenerallyCloud.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 com.pablissimo.sonar;
import org.sonar.api.*;
@Properties({
@Property(
key = TypeScriptPlugin.SETTING_TS_LINT_ENABLED,
deprecatedKey = TypeScriptPlugin.SETTING_TS_LINT_ENABLED_PREV,
type = PropertyType.BOOLEAN,
defaultValue = "true",
name = "Enable tslint",
... |
/**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.master.user;
import java.util.Comparator;
import org.apache.commons.lang.ObjectUtils;
/**
* Available sort orders for the role search.
*/
public enum RoleS... |
package org.apache.directmemory.memory.allocator;
/*
* 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 A... |
package com.yy.cloud.core.assess.data.domain;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
/**
* Function: TODO ADD FUNCTION. <br/>
* Reason: TODO ADD REASON. <br/>
* Date: 4/22/18 9:40 PM<b... |
/*
* Copyright 2017 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 applic... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__int_Environment_multiply_73a.java
Label Definition File: CWE190_Integer_Overflow__int.label.xml
Template File: sources-sinks-73a.tmpl.java
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: Environment Read data from an environment var... |
package com.wasim.arxxusgame.levels;
import java.util.Iterator;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gd... |
package com.secunet.ipsmall.test;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.StringReader;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.text.DateFormat;
imp... |
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.tct.positionApp.wechat;
import cn.hutool.core.util.StrUtil;
import cn.hutool.http.HttpRequest;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheLoader;
import com.google.common.cache.LoadingCache;
impo... |
/**
* Copyright (C) 2013 Motown.IO (info@motown.io)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
/* 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 android.support.v7.appcompat;
public final class R {
public static final class anim {
public static final int abc_fade_in = 0x7... |
package org.apache.lucene.util;
/**
* 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, Versio... |
/*
* Copyright 2018 FZI Forschungszentrum Informatik
*
* 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 com.company;
import java.util.Scanner;
public class NameGame {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String name = "";
String winner = "";
double winner_points = 0;
while (!"Stop".equals(name = scanner.nextLine())) {
... |
/*
* Copyright 2016-2021 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 "licen... |
package com.tq.requisition.exception;
/**
* 验证运行时异常,该类不能被继承
* @author jjh
* @time 2015-12-17 01:20
*/
@SuppressWarnings("serial")
public final class ValidationNullException extends RuntimeException{
public ValidationNullException(String message) {
super(message);
// TODO Auto-generated constructor stub
}
... |
package org.hl7.fhir.r4.model.api;
/*
* #%L
* org.hl7.fhir.r4
* %%
* Copyright (C) 2014 - 2019 Health Level 7
* %%
* 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://ww... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package team1100.season2010.robot;
import edu.wpi.first.wpilibj.Solenoid;
/**
*
* @author team1100
*/
public class HookLift {
private AdvJaguar lift_jaguar; //the winch
private Solenoid hook_piston; //the h... |
package model;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Join... |
package com.example.apt_demo;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.example.apt_annotation.BindView;
import com.example.apt_api.launcher.AutoBind;
import com.example.apt_demo.PushRouterManager;
import com.example... |
package com.alipay.api.response;
import java.util.List;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
import com.alipay.api.domain.AssetResult;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: ant.merchant.expand.assetproduce.complete.sync response.
* ... |
package com.iluwatar;
import com.iluwatar.generic.GHobbits;
import com.iluwatar.generic.GOrcs;
import com.iluwatar.generic.GWeather;
/**
*
* Observer pattern defines one-to-many relationship between objects. The target
* object sends change notifications to its registered observers.
*
*/
public class App {
p... |
package ca.ulaval.glo4003.parkings.domain;
import ca.ulaval.glo4003.accounts.domain.AccountId;
import ca.ulaval.glo4003.communications.domain.EmailAddress;
import ca.ulaval.glo4003.communications.domain.PostalCode;
import ca.ulaval.glo4003.communications.domain.ReceptionMethod;
public class ParkingSticker {
private... |
package krati.store;
import java.io.File;
import krati.array.DynamicArray;
import krati.core.array.AddressArray;
import krati.core.array.basic.DynamicLongArray;
import krati.core.segment.Segment;
import krati.core.segment.SegmentFactory;
import org.apache.log4j.Logger;
/**
* DynamicDataArray - a convenient class f... |
/**
* Automatically generated file. DO NOT MODIFY
*/
package com.example.tim.myapplication.test;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "com.example.tim.myapplication.test";
public static final String BUILD_... |
/**
* Copyright 2013 Dennis Ippel
*
* 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 org.mcupdater.mojang;
import com.google.common.base.MoreObjects;
import com.google.common.collect.Maps;
import com.google.gson.*;
import org.mcupdater.model.JSON;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.util.List;
import jav... |
package es.amplia.oda.statemanager.api;
import es.amplia.oda.core.commons.osgi.proxies.OsgiServiceProxy;
import es.amplia.oda.core.commons.utils.DatastreamValue;
import es.amplia.oda.core.commons.utils.DevicePattern;
import es.amplia.oda.event.api.Event;
import org.osgi.framework.BundleContext;
import java.util.Map;... |
/*
* Copyright 2017-2021 original 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 applicable law or agr... |
package com.wujie.generator.mapper;
import java.util.List;
import com.wujie.generator.domain.GenTable;
/**
* 业务 数据层
*
* @author wujie
*/
public interface GenTableMapper
{
/**
* 查询业务列表
*
* @param genTable 业务信息
* @return 业务集合
*/
public List<GenTable> selectGenTableList(GenTable ge... |
package galaxyspace.systems.SolarSystem.planets.overworld.blocks;
import micdoodle8.mods.galacticraft.core.blocks.ISortableBlock;
import micdoodle8.mods.galacticraft.core.util.EnumSortCategoryBlock;
import net.minecraft.block.BlockGlass;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.MapColo... |
/*
* MIT License
*
* Copyright (c) 2019 - 2020 Marvin (DerFrZocker)
*
* 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... |
/*
* 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 thing_ui.core;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Thing</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link th... |
/*
* 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 org.apereo.cas.web.flow.resolver.impl.mfa;
import org.apereo.cas.CentralAuthenticationService;
import org.apereo.cas.authentication.AuthenticationServiceSelectionPlan;
import org.apereo.cas.authentication.AuthenticationSystemSupport;
import org.apereo.cas.authentication.MultifactorAuthenticationProviderSelecto... |
/*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... |
/*
* This file is generated by jOOQ.
*/
package com.rpkit.professions.bukkit.database.jooq.tables;
import com.rpkit.professions.bukkit.database.jooq.Keys;
import com.rpkit.professions.bukkit.database.jooq.RpkitProfessions;
import com.rpkit.professions.bukkit.database.jooq.tables.records.RpkitCharacterProfessionChan... |
package org.tron.common.runtime.vm;
import static stest.tron.wallet.common.client.utils.PublicMethed.decode58Check;
import java.util.Arrays;
import java.util.Collections;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.spongycastle.util.encoders.Hex;
import org.testng.Assert;
import org.tron.commo... |
/*
* 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 module608packageJava0;
import java.lang.Integer;
public class Foo1031 {
Integer int0;
Integer int1;
public void foo0() {
new module608packageJava0.Foo1030().foo4();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public... |
package net.id.aether.client.rendering.entity.passive;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.id.aether.Aether;
import net.id.aether.client.model.AetherModelLayers;
import net.id.aether.client.model.entity.AerbunnyModel;
import net.id.aether.entities.passive.AerbunnyEntity;
im... |
package com.darcy.linux.pv;
import Jama.Matrix;
import org.apache.commons.math3.distribution.RealDistribution;
import org.apache.commons.math3.distribution.UniformRealDistribution;
import javax.crypto.BadPaddingException;
import javax.crypto.IllegalBlockSizeException;
import java.io.File;
import java.io.IOException;
... |
/**
*
* Copyright (c) 2006-2018, Speedment, 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 requ... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.ql.expression;
import org.elasticsearch.xpack... |
/*
* 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.chrynan.guitartuner.view;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.os.Build;
import android.support.annotation.ColorInt;
import andr... |
/*
* Copyright 2013-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 "licen... |
/*
* Copyright (C) 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 ... |
package edu.escuelaing.arem.ASE.app;
import java.util.*;
/**
* Esta clase se encarga de la Desviacion Estandar
* @author Andres Giovanne Florez Perez
*
*/
public class devStand {
public LinkedList<Double> Data;//Lista enlazada para almacenar los datos
public double N;//Numero de datos que van a entrar para calcu... |
/*
* FooArray.java
* Copyright 2008, 2009, 2010, 2011, 2012, 2013 Fiji Systems Inc.
* This file is part of the FIJI VM Software licensed under the FIJI PUBLIC
* LICENSE Version 3 or any later version. A copy of the FIJI PUBLIC LICENSE is
* available at fivm/LEGAL and can also be found at
* http://www.fiji-system... |
package com.advancedswords.ref;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class Log {
public static final Logger logger = LogManager.getLogger(RefStrings.NAME);
} |
/*
* @(#) FormatterTest.java
*
* json-simple Simple JSON Parser and Formatter
* Copyright (c) 2021 Peter Wall
*
* 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, i... |
package com.mangooa.server.app.form;
import com.mangooa.data.jpa.BaseJpaEntityStringId;
/**
* 表单字段实体。
*
* @author Weimin Gao
* @since 1.0.0
**/
public class FormField extends BaseJpaEntityStringId {
private static final long serialVersionUID = -3241158397816309066L;
} |
package org.truenewx.tnxjee.core.beans.factory.config;
import java.util.Locale;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.stereotype.Component;
/**
* 默认区域配置处理器。为了让设置默认区域的动作在所有Bean初始化之前执行
*
* @author jianglei
*
... |
package com.example.fitnessapp;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;... |
package com.anmong.core.dto.wap.chat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
/**
* @author songwenlong
* 2018/3/14
*/
@Data
@ApiModel(value = "聊天")
public class WapChatDTO {
private String toUserId;
private String fromUserId;
private String message;
} |
package com.appdevgenie.shuttleservice.utils;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
public class CheckNetworkConnection {
public static boolean isNetworkConnected(Context context) {
ConnectivityManager cm =
(ConnectivityMa... |
/*
* SMASH
*
* This file was automatically generated for the SMASH API by SMASH, INC ( https://smashlabs.io ).
*/
package SMASH.models;
import java.util.*;
public class DataManipulationModelBuilder {
//the instance to build
private DataManipulationModel dataManipulationModel;
/**
* Default const... |
// heapSort.java
// demonstrates heap sort
// to run this program: C>java HeapSortApp
import java.io.*;
////////////////////////////////////////////////////////////////
class Node
{
private int iData; // data item (key)
// -------------------------------------------------------------
public Node(in... |
// Copyright 2019 Google LLC
//
// 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 agreed to in ... |
package com.metheor.java.samples.classifieds.controller;
import com.metheor.java.samples.classifieds.model.User;
import com.metheor.java.samples.classifieds.service.UserService;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autow... |
package com.example.uofthacks.boop;
import static android.nfc.NdefRecord.createMime;
import android.app.Activity;
import android.content.Intent;
import android.nfc.FormatException;
import android.nfc.NdefMessage;
import android.nfc.NdefRecord;
import android.nfc.NfcAdapter;
import android.nfc.NfcEvent;
import android... |
//Oct 13th TA quiz section problems
import java.util.*;
public class QuizOct13th {
public static void main(String[] args){
showTwos(48);
showHailstone(120);
rollSix(6);
randomWalk(0);
}
// a method to print input positive integers as a product of 2 and an odd number
pub... |
package scraper.nodes.core.functional;
import scraper.annotations.*;
import scraper.api.*;
import java.util.List;
import java.util.stream.Collectors;
/**
* Unzips a list of pairs
*/
@NodePlugin("0.0.1")
public class Unzip<A,B> implements FunctionalNode {
/** zipped list */
@FlowKey(mandatory = true)
p... |
/*
* MIT License
*
* Copyright (c) 2017 Dennis Neufeld
*
* 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, m... |
package com.dcits.business.message.bean;
// default package
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;
import org.apache.struts2.json.annotations.JSON;
import com.dcits.business.user.bean.User;
/**
* 接口自动化
* 接口信息表
*
* @author xuwangcheng
* @version... |
package virtuozo.interfaces;
import virtuozo.infra.Elements;
import virtuozo.infra.SimpleValidator;
import virtuozo.interfaces.Button;
import virtuozo.interfaces.Component;
import virtuozo.interfaces.Icon;
import virtuozo.interfaces.Input;
import virtuozo.interfaces.InputGroup;
import virtuozo.interfaces.InputText;
im... |
/* Nested Generic Classes (pg 212)
*/
class Seq<T> {
T head;
Seq<T> tail;
Seq() { this(null, null); }
Seq(T head, Seq<T> tail) {
this.head = head;
this.tail = tail;
}
boolean isEmpty() { return tail == null; }
class Zipper<S> {
Seq<Pair<T,S>> zip(Seq<S> that) {
if (isEmpty() || ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.