text
stringlengths
7
995k
//Om Ganesayanamaha package org.processmining.plugins.signaturediscovery; import java.io.IOException; import java.sql.SQLException; import javax.swing.JFrame; import javax.swing.JOptionPane; import org.deckfour.xes.model.XLog; import org.processmining.contexts.uitopia.UIPluginContext; import org.processmining.contex...
/* * * * Copyright 2016 EMBL - European Bioinformatics Institute * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE-2.0...
/* * Copyright 2014-2015 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 app...
package org.restexpress.example.blogging; import java.util.Map; import org.restexpress.RestExpress; import org.restexpress.example.blogging.domain.Blog; import org.restexpress.example.blogging.domain.BlogEntry; import org.restexpress.example.blogging.domain.Comment; import com.strategicgains.hyperexpress.HyperExpres...
/** * Copyright (c) 2008-2021 Bird Dog Games, Inc. * * This file is part of Ardor3D. * * Ardor3D is free software: you can redistribute it and/or modify it * under the terms of its license which may be found in the accompanying * LICENSE file or at <https://git.io/fjRmv>. */ package com.ardor3d.extension.terra...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
/* * Copyright 2014-2019 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 2006-2007 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.leshan.ylyj.view.activity.Integraltreasuremodel; import android.content.ComponentName; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.text.Editable; import android.text.SpannableString; import android.text.Spanned; import android.text.SpannedString; i...
package com.vmware.vim25; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for OvfPropertyValue complex type. * * <p>The following schema fragment specifies the expected content contained within this cl...
/* * Copyright 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 writing...
package test; import randomLib.RandomLibraryException; import telran.person.dao.PersonManager; import telran.person.model.Person; public class PersonTest { public static int PERSON_MNG = 10; public static void main(String[] args) throws RandomLibraryException { /*PersonManager pm = new PersonManager(); Perso...
/* * Copyright (c) 2014 AsyncHttpClient Project. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at * http://www.ap...
package joshie.harvest.core.base.render; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; public class RenderData { private static final float MAX_OFFSET1 = 0.5F; private static final float MIN_OFFSET1 = -0.5F; private static final float MAX_OFFSET2 = 0F / 1.75F; private stat...
/* * Copyright (C) 2014-2016 LinkedIn Corp. 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 appl...
/** * Copyright 2013 Canada Health Infoway, 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 applicab...
package com.epam.brest.rest_app; import com.epam.brest.model.Employee; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autocon...
//====================================================================== // // File: ParametersC_PPPropertySource.java // // WARNING: Do not edit this generated file // Generated by: arc/BuildPropertySource.arc // Version: $Revision: 1.66 $ // // (c) Copyright 2006-2014 by Mentor Graphics Corp. All rights re...
/* * 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...
// Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // 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 restricti...
/* * 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.stewsters.test.mapgen; import com.stewsters.test.examples.ExampleCellType; import com.stewsters.test.examples.ExampleGeneratedMap2d; import com.stewsters.util.mapgen.CellType; import com.stewsters.util.mapgen.terrain.NoiseFunction2d; import com.stewsters.util.mapgen.twoDimension.brush.DrawCell2d; import co...
package com.micro.system.util; import java.io.Serializable; /** * @author Noageir * Date: 2018-05-11 22:03 * Project: com.spring.cloud * Package: com.micro.system.util */ class CommConstant implements Serializable { static final ResponseCode SUCCESS = new ResponseCode("000000", "请求处理成功"); static final R...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.spring.integration.eventhub.checkpoint; import com.azure.messaging.eventhubs.EventData; import com.azure.messaging.eventhubs.models.EventContext; import com.azure.spring.integration.core.api.CheckpointCon...
/******************************************************************************* * Copyright 2009 OpenSHA.org in partnership with the Southern California * Earthquake Center (SCEC, http://www.scec.org) at the University of Southern * California and the UnitedStates Geological Survey (USGS; http://www.usgs.gov) * ...
package xyz.ewis.websitemonitor.message.sender; /** * MessageSend * * @author MAJANNING * @date 2020/3/5 */ public class MessageSend { }
package com.example.xiao.fragmentanimation; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; imp...
package repositories; import models.Category; /** * Created by shai on 11/15/2017. */ public class CategoriesRepository extends FileRepository<Category, Long> { private static CategoriesRepository instance = null; public static CategoriesRepository getInstance() { if (instance != null){ ...
package org.devgateway.toolkit.persistence.service.filterstate.category; import org.devgateway.toolkit.persistence.dao.categories.Subcounty; import org.devgateway.toolkit.persistence.dao.categories.Ward; import org.devgateway.toolkit.persistence.dao.categories.Ward_; import org.springframework.data.jpa.domain.Specific...
/* * Copyright 2016-present Open Networking Laboratory * * 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 org.nutz.dao.impl.sql.pojo; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import org.nutz.dao.FieldFilter; import org.nutz.dao.entity.Entity; import org.nutz.dao.entity.LinkField; import org.nutz.dao.entity.LinkVisitor; import org.nutz.dao.page...
package projects.sample1.nodes.messages; import java.util.ArrayList; import sinalgo.nodes.messages.Message; public class LeaderMensage extends Message{ public enum MensageType{ AYNORMAL, AYN_Replay, AYC, AYC_YES, NONE } ArrayList<Integer> lastNodes; MensageType mensage; int time; int sourceNode; int destiny...
/* * 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 2014-2019 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 org.talend.daikon.security.token; import static org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest.toAnyEndpoint; import java.util.stream.Stream; import javax.servlet.Filter; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; im...
// Generated by dagger.internal.codegen.ComponentProcessor (https://google.github.io/dagger). package com.mybossseasonfinal.justthejob.DI.Module; import com.mybossseasonfinal.justthejob.MainActivity.NavigationDrawerFragment.NavigationDrawerFragmentContract; import dagger.internal.Factory; import dagger.internal.Precon...
/* * Copyright 2016 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 requi...
package com.sunnyweather.android.logic.dao; import android.content.Context; import android.content.SharedPreferences; import com.google.gson.Gson; import com.sunnyweather.android.SunnyWeatherApplication; import com.sunnyweather.android.logic.model.Place; public class PlaceDao { public static void savePlace(Pl...
package com.simibubi.create.compat.rei.category; import java.util.ArrayList; import java.util.List; //import java.util.Arrays; //import com.mojang.blaze3d.vertex.PoseStack; import com.simibubi.create.AllBlocks; import com.simibubi.create.AllItems; import com.simibubi.create.compat.rei.category.animations.AnimatedMil...
package com.test.onesignal; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.onesignal.OneSignalDbHelper; import com.onesignal.OneSignalPackagePrivateHelper; import com.onesignal.OneSignalPackagePrivateHelper.OneSignalPrefs; import com.onesignal.ShadowCustomTabsClient; import ...
/* * 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...
/** * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package com.xiaomi.infra.galaxy.talos.thrift; import libthrift091.scheme.IScheme; import libthrift091.scheme.SchemeFactory; import libthrift091.scheme.StandardScheme; import libthr...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE690_NULL_Deref_From_Return__Properties_getProperty_equals_15.java Label Definition File: CWE690_NULL_Deref_From_Return.label.xml Template File: sources-sinks-15.tmpl.java */ /* * @description * CWE: 690 Unchecked return value is null, leading to a null pointer dereferenc...
/** * 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 n...
/** * Created on 15.08.2018. * * @author Aleks Sidorenko (alek.sidorenko1979@gmail.com). * @version $Id$. * @since 0.1. */ package ru.job4j.arrays_6.array_filling_6_3; /* 6.3. Массив заполнен true или false [#53857] Петр Арсентьев, 05.07.18 4:49 Требования к задаче: 1. Необходимо создать класс Check; 2. В кла...
/** * */ package org.ngbw.sdk.api.conversion; import org.ngbw.sdk.api.core.Configurable; import org.ngbw.sdk.core.types.DataFormat; /** * SequenceParser extracts the plain sequence String from * all registered Sequence documents. * * @author hannes * */ public interface SequenceParser extends Configurable<D...
package com.atguigu.gmall.pms.mapper; import com.atguigu.gmall.pms.entity.CommentEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 商品评价 * * @author lmx * @email lmx@atguigu.com * @date 2020-10-28 12:30:25 */ @Mapper public interface CommentMapper...
/* * Copyright 2000-2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
package io.smsc.converters; import io.smsc.util.EncrypterUtil; import javax.persistence.AttributeConverter; import javax.persistence.Converter; /** * The CryptoConverter class is used for encoding raw user's password before persisting * and returning encoded password while user retrieving. * * @author Nazar Lipk...
package playaid; import javafx.application.Application; import javafx.event.EventHandler; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.input.MouseEvent; import javafx.stage.Stage; /** * * @author Piyumal */ public class PlayAid extends Application { ...
/** 创建日期: 2017年08月12日 15:23 创建作者: 杨 强 <281455776@qq.com> */ package info.xiaomo.gengine.config.annotation; import java.lang.annotation.*; /** * 表注解 * * @author YangQiang */ @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface Table { /** * 名字 * * @return ...
/* * The MIT License (MIT) * Copyright (c) 2016 Christophe Bismuth * * 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 u...
/* * Constellation - An open source and standard compliant SDI * http://www.constellation-sdi.org * * Copyright 2014 Geomatys. * * 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 com.epam.brest.andreycheslow; import com.epam.brest.andreycheslow.model.ReadData; import com.epam.brest.andreycheslow.model.Status; import com.epam.brest.andreycheslow.model.StatusType; import java.util.Scanner; public class Main { public static void main(String[] arg) { //result = weight*price...
/* * Copyright (c) 2008-2015, Hazelcast, 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 ...
package com.spring.sleuth.demo.server1_sb2.config.custom; import lombok.extern.slf4j.Slf4j; import org.apache.kafka.clients.consumer.ConsumerConfig; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanPostProcessor; import org.springframework.kafka.config.ConcurrentKafk...
package com.google.zxing; /** * This is a factory class which finds the appropriate Writer subclass for the BarcodeFormat * requested and encodes the barcode with the supplied contents. * * @author dswitkin@google.com (Daniel Switkin) */ public final class MultiFormatWriter implements Writer { public Multi...
/* * Copyright 2015-2020 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.github.bottomlessarchive.loa.vault.service; import com.github.bottomlessarchive.loa.compression.domain.DocumentCompression; import com.github.bottomlessarchive.loa.document.service.DocumentManipulator; import com.github.bottomlessarchive.loa.document.service.domain.DocumentEntity; import com.github.bottoml...
/* * Copyright (c) 2012-2014 Malhar, Inc. * All Rights Reserved. */ package com.datatorrent.lib.io.jms; import com.datatorrent.api.Attribute.AttributeMap.DefaultAttributeMap; import com.datatorrent.api.DAG; import com.datatorrent.lib.helper.OperatorContextTestHelper.TestIdOperatorContext; import com.datatorrent....
package L08EnumsAndAnnotationsE.Ex10toEx14InfernoInfinity; import L08EnumsAndAnnotationsE.Ex10toEx14InfernoInfinity.contracts.*; import L08EnumsAndAnnotationsE.Ex10toEx14InfernoInfinity.core.GameController; import L08EnumsAndAnnotationsE.Ex10toEx14InfernoInfinity.engine.GameEngine; import L08EnumsAndAnnotationsE.Ex10t...
package com.denizenscript.ddiscordbot.objects; import com.denizenscript.ddiscordbot.DenizenDiscordBot; import com.denizenscript.ddiscordbot.DiscordConnection; import com.denizenscript.denizen.utilities.debugging.Debug; import com.denizenscript.denizencore.flags.AbstractFlagTracker; import com.denizenscript.denizencore...
/*- * #%L * Elastic APM Java agent * %% * Copyright (C) 2018 - 2020 Elastic and contributors * %% * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. ...
/* * Copyright (c) 2016 LabKey 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 License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * 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...
package Manage.FloorManage; import java.util.*; import entity.Person.*; import entity.building.*; import DataBase.*; public class FloorManage { public FloorManage(){} public void start() //start函数 { while(true) { Scanner sc = new Scanner(System.in); ...
package org.cqframework.cql.cql2elm.model; import org.cqframework.cql.cql2elm.NamespaceManager; import org.hl7.cql.model.DataType; import org.hl7.cql_annotations.r1.Annotation; import org.hl7.cql_annotations.r1.Tag; import org.hl7.elm.r1.*; import java.util.*; public class TranslatedLibrary { private VersionedId...
package AlexsGameEnhancers; import java.io.Serializable; import java.lang.Math; import java.awt.Point; public class Vector implements Cloneable, Serializable { public double xDir; public double yDir; public static Vector addVectors(Vector v1, Vector v2) { return new Vector(v1.getXDirection() + v2.getXDirectio...
package edu.umass.cs.jfoley.coop.bills; import ciir.jfoley.chai.io.LinesIterable; import ciir.jfoley.chai.time.Debouncer; import gnu.trove.map.hash.TIntIntHashMap; import java.io.IOException; /** * @author jfoley */ public class PhraseVocabInfo { public static void main(String[] args) throws IOException { D...
package com.company.professor; import com.company.professor.DaoSession; import de.greenrobot.dao.DaoException; // THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit. /** * Entity mapped to table "pokemon_egg_groups". */ public class PokemonEggGroups { private long Spec...
// Copyright 2015-2020 SWIM.AI 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 ...
package com.sap.gtt.v2.sample.sst.rest.controller; import static java.util.UUID.randomUUID; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import com.sap.gtt.v2.sample.sst.rest.service.NextStopService; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.Extend...
package gov.cms.dpc.common.entities; import gov.cms.dpc.common.annotations.NPI; import gov.cms.dpc.common.annotations.NoHtml; import javax.persistence.*; import javax.validation.constraints.NotNull; import java.util.List; import java.util.Objects; @Entity(name = "providers") public class ProviderEntity extends Perso...
/** * Copyright (c) 2013-2019 Contributors to the Eclipse Foundation * * <p> See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Versio...
package org.rs2server.rs2.model; import java.util.HashSet; import java.util.Set; public class ReferencedWorld { /** * used to tell how many people are in that world. */ private final Set<Integer> players = new HashSet<Integer>(); private final int id; private String address, activity; ...
/* * 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) Dell Inc., or its subsidiaries. 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...
package org.bouncycastle.jce.provider; import java.security.AccessController; import java.security.PrivilegedAction; import java.security.Provider; import java.util.Iterator; import java.util.Map; import org.bouncycastle.asn1.DERObjectIdentifier; import org.bouncycastle.asn1.bc.BCObjectIdentifiers; import org.bouncyc...
/******************************************************************************* * @(#)CglibProxy.java 2020年09月26日 22:08 * Copyright 2020 http://supay.org.cn All rights reserved. *******************************************************************************/ package cn.org.supay.core.channel.proxy; import cn.org.s...
/* * Criteo API Transition Swagger * This is used to help Criteo clients transition from MAPI to Criteo API * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manu...
/** * 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.fife.rsta.ac.js.ecma.api.dom.html; import org.fife.rsta.ac.js.ecma.api.ecma3.JSFunction; import org.fife.rsta.ac.js.ecma.api.ecma5.functions.JS5ObjectFunctions; import org.w3c.dom.html.HTMLObjectElement; public abstract class JSHTMLObjectElement implements HTMLObjectElement, JS5ObjectFunctions { /** ...
/******************************************************************************* * Copyright 2011 Joachim Ansorg, mail@ansorg-it.com * File: BashStructureViewModel.java, Class: BashStructureViewModel * Last modified: 2011-04-30 16:33 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may no...
package com.ryanweddle.simplewrappertest; /** * Created by ryweddle on 3/11/18. */ public class DevConstants { public static final String EXAMPLE_JWT = "DEFAULT_JWT_TOKEN"; public static final String EXAMPLE_SPARKID = "sparkid@domain.com"; }
package com.coolweather.app.db; import java.util.ArrayList; import java.util.List; import com.coolweather.app.model.City; import com.coolweather.app.model.County; import com.coolweather.app.model.Province; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import andr...
package pattern08_observer.blogdemo; public class Article { private String title; private String content; public Article(String title, String content) { this.title = title; this.content = content; } public String getTitle() { return title; } public void setTitle(S...
/* * Copyright 1999-2002 Carnegie Mellon University. * Portions Copyright 2002 Sun Microsystems, Inc. * Portions Copyright 2002 Mitsubishi Electric Research Laboratories. * All Rights Reserved. Use is subject to license terms. * * See the file "license.terms" for information on usage and * redistribution o...
/* * Copyright (c) 2019-2020, ganom <https://github.com/Ganom> * All rights reserved. * Licensed under GPL3, see LICENSE for the full scope. */ package net.runelite.client.external.adonai; import com.google.common.collect.ImmutableMap; import lombok.AllArgsConstructor; import lombok.Getter; import net.runelite.api...
import java.util.Arrays; public class Solution3 { public int minIncrementForUnique(int[] A) { int len = A.length; if (len == 0) { return 0; } UnionFind unionFind = new UnionFind(); int res = 0; for (int num : A) { if (unionFind.contains(num)...
package ru.rosbank.morpher_test_task; import io.restassured.RestAssured; import org.hamcrest.Matchers; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.web.server.LocalServerPort; import org.spr...
package com.devonfw.cobigen.openapiplugin.model; import java.util.List; /** * */ @SuppressWarnings("javadoc") public class ResponseDef { private boolean isArray; private boolean isPaginated; private boolean isEntity; private boolean isVoid; private String type; private String format; ...
/** * Copyright 2009-2019 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 ...
package resourceLeaks.ioStream; import java.io.File; import java.io.FileInputStream; public class IOStreamtest13 { public static void main(String [] args)throws Exception{ Class<?> cls = Class.forName("resourceleaks.IOStreamtest7$Innerclass"); IOStreamtest7.Innerclass inner= (IOStreamtest7.Innerclass)cls.newI...
package com.musicapp.amrdeveloper.musicapp.adapter; import android.content.Context; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widg...
public class King extends Piece{ public String color; public boolean hasMoved; public boolean castled; public King(String color){ this.color = color; this.hasMoved = false; this.castled = false; } @Override public boolean validateMove(Piece[][] board, int currentRow, int currentCol, int newRow, int ne...
package br.com.transacao.cartao; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class Cartao { @Id private String id; private String email; public Cartao() { } public Cartao(String id, String email) { this.id = id; this.email = email; } ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* Copyright 2009-2019 David Hadka * * This file is part of the MOEA Framework. * * The MOEA Framework is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at your ...
package com.yusufolokoba.natshare; import android.app.Fragment; import android.content.Intent; import com.unity3d.player.UnityPlayer; import static android.app.Activity.RESULT_CANCELED; import static android.app.Activity.RESULT_OK; public class NatShareCallbacks extends Fragment { public static final String TA...
import java.awt.Point; import java.util.ArrayList; import java.util.List; public class Cage { char id; int size = -1; List<Point> cells = new ArrayList<>(); public Cage(char id ) { this.id = id; } public void add(int x,int y) { cells.add(new Point(x,y)); } public void addCount(int c) { size = c...